pub enum VNode {
Div(Div<VNode>),
Text(Text),
RichText(RichText),
}Expand description
A virtual node in the VDOM (components are already expanded)
Variants§
Div(Div<VNode>)
A div that can have children
Text(Text)
Text content that is rendered directly
RichText(RichText)
Rich text with multiple styled segments
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VNode
impl !RefUnwindSafe for VNode
impl !Send for VNode
impl !Sync for VNode
impl Unpin for VNode
impl UnsafeUnpin for VNode
impl !UnwindSafe for VNode
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