pub struct Leaf {
pub offset: u64,
pub data: Bytes,
}
Expand description
A leaf node.
Fields§
§offset: u64
The byte offset of the leaf in the file.
data: Bytes
The data of the leaf.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Leaf
impl RefUnwindSafe for Leaf
impl Send for Leaf
impl Sync for Leaf
impl Unpin for Leaf
impl UnwindSafe for Leaf
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