enum NodeType {
Ascii,
Span,
Value,
Branch,
}
Expand description
The node type. See the module-level docs for more explanation of the four node types.
Variants§
Ascii
An ASCII node. Contains a single literal ASCII byte and no varint.
Span
A span node. Contains a varint indicating how big the span is.
Value
A value node. Contains a varint representing the value.
Branch
A branch node. Contains a varint of the number of output nodes, plus W in the high bits.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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