pub struct LeafNodeRef<'a> {
pub key: &'a Nibbles,
pub value: &'a [u8],
}
Expand description
Reference to the leaf node. See LeafNode from more information.
Fields§
§key: &'a Nibbles
The key for this leaf node.
value: &'a [u8]
The node value.
Implementations§
Trait Implementations§
Source§impl Debug for LeafNodeRef<'_>
impl Debug for LeafNodeRef<'_>
Auto Trait Implementations§
impl<'a> Freeze for LeafNodeRef<'a>
impl<'a> RefUnwindSafe for LeafNodeRef<'a>
impl<'a> Send for LeafNodeRef<'a>
impl<'a> Sync for LeafNodeRef<'a>
impl<'a> Unpin for LeafNodeRef<'a>
impl<'a> UnwindSafe for LeafNodeRef<'a>
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