pub struct AssignedBinding(pub Rc<dyn BindingBase>);Expand description
A binding held as the value of a property (a property that is assigned a binding rather than bound with it). Equality is identity.
Tuple Fields§
§0: Rc<dyn BindingBase>Implementations§
Source§impl AssignedBinding
impl AssignedBinding
Sourcepub fn new(binding: Rc<dyn BindingBase>) -> Self
pub fn new(binding: Rc<dyn BindingBase>) -> Self
Wraps a binding.
Trait Implementations§
Source§impl Clone for AssignedBinding
impl Clone for AssignedBinding
Source§impl Deref for AssignedBinding
impl Deref for AssignedBinding
Source§impl From<Rc<dyn BindingBase>> for AssignedBinding
impl From<Rc<dyn BindingBase>> for AssignedBinding
Source§fn from(value: Rc<dyn BindingBase>) -> Self
fn from(value: Rc<dyn BindingBase>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AssignedBinding
impl !Send for AssignedBinding
impl !Sync for AssignedBinding
impl !UnwindSafe for AssignedBinding
impl Freeze for AssignedBinding
impl Unpin for AssignedBinding
impl UnsafeUnpin for AssignedBinding
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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