Enum yew::virtual_dom::VNode [−][src]
pub enum VNode {
VTag(Box<VTag>),
VText(VText),
VComp(VComp),
VList(VList),
VPortal(VPortal),
VRef(Node),
}
Expand description
Bind virtual element to a DOM reference.
Variants
VTag(Box<VTag>)
A bind between VTag
and Element
.
VText(VText)
Tuple Fields
0: VText
A bind between VText
and TextNode
.
VComp(VComp)
Tuple Fields
0: VComp
A bind between VComp
and Element
.
VList(VList)
Tuple Fields
0: VList
A holder for a list of other nodes.
VPortal(VPortal)
Tuple Fields
0: VPortal
A portal to another part of the document
VRef(Node)
Tuple Fields
0: Node
A holder for any Node
(necessary for replacing node).
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for VNode
impl !UnwindSafe for VNode
Blanket Implementations
Mutably borrows from an owned value. Read more