pub enum VNode {
Element(VElement),
Text(VText),
Component(VComponent),
Empty,
}Expand description
A virtual DOM node
Variants§
Element(VElement)
An element node
Text(VText)
A text node
Component(VComponent)
A component node
Empty
An empty node
Trait Implementations§
impl StructuralPartialEq for VNode
Auto Trait Implementations§
impl Freeze for VNode
impl RefUnwindSafe for VNode
impl Send for VNode
impl Sync for VNode
impl Unpin 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