pub struct BindingOperations;Expand description
Static members related to bindings.
Implementations§
Source§impl BindingOperations
impl BindingOperations
Sourcepub fn do_nothing() -> BoxedValue
pub fn do_nothing() -> BoxedValue
The marker value that tells a binding target to do nothing: the binding value is ignored.
Sourcepub fn is_do_nothing(value: Option<&BoxedValue>) -> bool
pub fn is_do_nothing(value: Option<&BoxedValue>) -> bool
Whether value is the do-nothing marker.
Sourcepub fn is_unset(value: Option<&BoxedValue>) -> bool
pub fn is_unset(value: Option<&BoxedValue>) -> bool
Whether value is the unset marker.
Sourcepub fn get_binding_expression_base(
target: &FerroObject,
property: &'static FerroProperty,
) -> Option<Rc<dyn BindingExpressionBase>>
pub fn get_binding_expression_base( target: &FerroObject, property: &'static FerroProperty, ) -> Option<Rc<dyn BindingExpressionBase>>
Retrieves the binding expression that is currently active on the specified property, if any.
Trait Implementations§
Source§impl MarkupTyped for BindingOperations
impl MarkupTyped for BindingOperations
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl Freeze for BindingOperations
impl RefUnwindSafe for BindingOperations
impl Send for BindingOperations
impl Sync for BindingOperations
impl Unpin for BindingOperations
impl UnsafeUnpin for BindingOperations
impl UnwindSafe for BindingOperations
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more