Type Alias NodeKey

Source
pub type NodeKey = (usize, SmallVec<[u8; 40]>);
Expand description

Partial node key type: offset and owned value of a nibbleslice. Offset is applied on first byte of array (bytes are right aligned).

Trait Implementations§

Source§

impl From<&NibbleVec> for NodeKey

Source§

fn from(nibble: &NibbleVec) -> NodeKey

Converts to this type from the input type.
Source§

impl<'a> From<NibbleSlice<'a>> for NodeKey

Source§

fn from(slice: NibbleSlice<'a>) -> NodeKey

Converts to this type from the input type.