pub enum BtiNodeData {
PayloadOnly {
payload: PayloadRef,
},
Single {
transition: Transition,
},
Sparse {
transitions: Vec<Transition>,
},
Dense {
start_byte: u8,
children: Vec<SizedPointer>,
},
}Expand description
Node-specific data based on node type
Variants§
PayloadOnly
Payload-only node (leaf)
Fields
§
payload: PayloadRefSingle
Single child node
Fields
§
transition: TransitionSparse
Sparse node with few children
Fields
§
transitions: Vec<Transition>Dense
Dense node with many consecutive children
Fields
§
children: Vec<SizedPointer>Child pointers for the consecutive range
Trait Implementations§
Source§impl Clone for BtiNodeData
impl Clone for BtiNodeData
Source§fn clone(&self) -> BtiNodeData
fn clone(&self) -> BtiNodeData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BtiNodeData
impl RefUnwindSafe for BtiNodeData
impl Send for BtiNodeData
impl Sync for BtiNodeData
impl Unpin for BtiNodeData
impl UnsafeUnpin for BtiNodeData
impl UnwindSafe for BtiNodeData
Blanket Implementations§
impl<T> Allocation for T
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