pub enum NodeKind {
Element,
Text(TextContent),
AnonymousBlock,
AnonymousInline,
}Expand description
The kind of content a box tree node holds.
Variants§
Element
An element node with children.
Text(TextContent)
A text node (leaf).
AnonymousBlock
An anonymous block wrapper (generated by the engine).
AnonymousInline
An anonymous inline wrapper.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnwindSafe for NodeKind
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