Struct libpanel::LayeredBindingBuilder
source · pub struct LayeredBindingBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> LayeredBindingBuilder<'a>
impl<'a> LayeredBindingBuilder<'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 LayeredBindingBuilder<'a>
impl<'a> !RefUnwindSafe for LayeredBindingBuilder<'a>
impl<'a> !Send for LayeredBindingBuilder<'a>
impl<'a> !Sync for LayeredBindingBuilder<'a>
impl<'a> Unpin for LayeredBindingBuilder<'a>
impl<'a> !UnwindSafe for LayeredBindingBuilder<'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