Struct glib::BindingGroupBuilder
source · [−]pub struct BindingGroupBuilder<'a> { /* private fields */ }
Expand description
Builder for binding group bindings.
Implementations
sourceimpl<'a> BindingGroupBuilder<'a>
impl<'a> BindingGroupBuilder<'a>
sourcepub fn transform_from<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>(
self,
func: F
) -> Self
Available on crate feature v2_72
only.
pub fn transform_from<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>(
self,
func: F
) -> Self
v2_72
only.Transform changed property values from the target object to the source object with the given closure.
sourcepub fn transform_to<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>(
self,
func: F
) -> Self
Available on crate feature v2_72
only.
pub fn transform_to<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>(
self,
func: F
) -> Self
v2_72
only.Transform changed property values from the source object to the target object with the given closure.
sourcepub fn flags(self, flags: BindingFlags) -> Self
Available on crate feature v2_72
only.
pub fn flags(self, flags: BindingFlags) -> Self
v2_72
only.Bind the properties with the given flags.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for BindingGroupBuilder<'a>
impl<'a> !Send for BindingGroupBuilder<'a>
impl<'a> !Sync for BindingGroupBuilder<'a>
impl<'a> Unpin for BindingGroupBuilder<'a>
impl<'a> !UnwindSafe for BindingGroupBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more