#[must_use]
pub struct Dom { /* fields omitted */ }
pub fn new(element: Node) -> Self
[src]
pub fn with_state<A, F>(state: A, initializer: F) -> Dom where
A: 'static,
F: FnOnce(&mut A) -> Dom,
[src]
👎 Deprecated since 0.5.15:
Store the data explicitly in a component struct instead
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.