Struct gio::BindingBuilder
source · 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