pub struct Fork {
pub prefix: Vec<u8>,
pub node: MantarayNode,
}Expand description
One edge of the trie. prefix is the path bytes that select this
child; node is the child node.
Fields§
§prefix: Vec<u8>Path bytes selecting this child.
node: MantarayNodeChild node.
Trait Implementations§
impl Eq for Fork
impl StructuralPartialEq for Fork
Auto Trait Implementations§
impl Freeze for Fork
impl RefUnwindSafe for Fork
impl Send for Fork
impl Sync for Fork
impl Unpin for Fork
impl UnsafeUnpin for Fork
impl UnwindSafe for Fork
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