pub struct Eager<T>(/* private fields */);
Expand description
Trait Implementations§
Source§impl<T> View for Eager<T>where
T: Value<TextContent> + IntoText + Copy,
impl<T> View for Eager<T>where
T: Value<TextContent> + IntoText + Copy,
Source§type Product = Node
type Product = Node
The product should contain a DOM reference to this View and
any data it needs to update itself.
Source§fn build(self, p: In<'_, Node>) -> Out<'_, Node>
fn build(self, p: In<'_, Node>) -> Out<'_, Node>
Build a product that can be mounted in the DOM from this type.
Source§fn update(self, node: &mut Node)
fn update(self, node: &mut Node)
Update the product and apply changes to the DOM if necessary.
impl<T: Copy> Copy for Eager<T>
Auto Trait Implementations§
impl<T> Freeze for Eager<T>where
T: Freeze,
impl<T> RefUnwindSafe for Eager<T>where
T: RefUnwindSafe,
impl<T> Send for Eager<T>where
T: Send,
impl<T> Sync for Eager<T>where
T: Sync,
impl<T> Unpin for Eager<T>where
T: Unpin,
impl<T> UnwindSafe for Eager<T>where
T: UnwindSafe,
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