pub struct NodeRef<T: ObjectType> { /* private fields */ }Expand description
The control an element made, once it is mounted (see
El::node_ref). Copy; reading it is reactive.
Implementations§
Trait Implementations§
Source§impl<T: ObjectType> Clone for NodeRef<T>
impl<T: ObjectType> Clone for NodeRef<T>
impl<T: ObjectType> Copy for NodeRef<T>
Auto Trait Implementations§
impl<T> Freeze for NodeRef<T>
impl<T> RefUnwindSafe for NodeRef<T>
impl<T> Send for NodeRef<T>
impl<T> Sync for NodeRef<T>
impl<T> Unpin for NodeRef<T>
impl<T> UnsafeUnpin for NodeRef<T>
impl<T> UnwindSafe for NodeRef<T>
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 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).