pub struct Owner { /* private fields */ }Expand description
What owns signals, memos and effects: they are disposed with it. A mounted element tree has one; each item of a dynamic list has its own.
Implementations§
Trait Implementations§
impl Copy for Owner
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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> AnyValueEq for Twhere
T: PartialEq + 'static,
impl<T> AnyValueEq for Twhere
T: PartialEq + 'static,
Source§fn item_equals(&self, other: &(dyn AnyValueEq + 'static)) -> bool
fn item_equals(&self, other: &(dyn AnyValueEq + 'static)) -> bool
Whether
other holds an equal value.Source§fn item_as_any(&self) -> &(dyn Any + 'static)
fn item_as_any(&self) -> &(dyn Any + 'static)
The value as
Any.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 moreSource§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromValue<Option<T>> for Twhere
T: Clone,
impl<T> FromValue<Option<T>> for Twhere
T: Clone,
Source§fn from_value(value: &Option<T>) -> Option<T>
fn from_value(value: &Option<T>) -> Option<T>
The value of the signal, or
None when the value of the property has
none (the signal keeps its value).Source§impl<T> FromValue<T> for Twhere
T: Clone,
impl<T> FromValue<T> for Twhere
T: Clone,
Source§fn from_value(value: &T) -> Option<T>
fn from_value(value: &T) -> Option<T>
The value of the signal, or
None when the value of the property has
none (the signal keeps its value).Source§impl<T> IntoValue<Option<T>> for Twhere
T: PropertyValue,
impl<T> IntoValue<Option<T>> for Twhere
T: PropertyValue,
Source§fn into_value(self) -> Option<T>
fn into_value(self) -> Option<T>
The value of the property.