pub enum Node {
Empty,
Text(Cow<'static, str>),
Raw(Cow<'static, str>),
Element(Box<Element>),
Fragment(Vec<Node>),
Suspense(Box<Suspense>),
Style(&'static Stylesheet),
}Expand description
A rendered view tree.
Variants§
Empty
Text(Cow<'static, str>)
Escaped text.
Raw(Cow<'static, str>)
Unescaped HTML created with crate::raw_html.
Element(Box<Element>)
Fragment(Vec<Node>)
Suspense(Box<Suspense>)
Async boundary (see crate::suspense).
Style(&'static Stylesheet)
A stylesheet used by this subtree; emitted once per document.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Node
impl !Sync for Node
impl !UnwindSafe for Node
impl Forget for Node
impl Freeze for Node
impl Move for Node
impl Send for Node
impl Unpin for Node
impl UnsafeUnpin for Node
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