pub struct BindingBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> BindingBuilder<'a>
impl<'a> BindingBuilder<'a>
pub fn flags(self, flags: SettingsBindFlags) -> Self
Sourcepub fn no_sensitivity(self) -> Self
pub fn no_sensitivity(self) -> Self
Set the binding flags to NO_SENSITIVITY
.
Sourcepub fn get_no_changes(self) -> Self
pub fn get_no_changes(self) -> Self
Set the binding flags to GET_NO_CHANGES
.
Sourcepub fn invert_boolean(self) -> Self
pub fn invert_boolean(self) -> Self
Set the binding flags to INVERT_BOOLEAN
.
pub fn mapping<F: Fn(&Variant, Type) -> Option<Value> + 'static>( self, f: F, ) -> Self
pub fn set_mapping<F: Fn(&Value, VariantType) -> Option<Variant> + 'static>( self, f: F, ) -> Self
pub fn build(self)
Auto Trait Implementations§
impl<'a> Freeze for BindingBuilder<'a>
impl<'a> !RefUnwindSafe for BindingBuilder<'a>
impl<'a> !Send for BindingBuilder<'a>
impl<'a> !Sync for BindingBuilder<'a>
impl<'a> Unpin for BindingBuilder<'a>
impl<'a> !UnwindSafe for BindingBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more