pub struct Leaf {
pub offset: ByteNum,
pub data: Bytes,
}
Expand description
A leaf node.
Fields§
§offset: ByteNum
The byte offset of the leaf in the file.
data: Bytes
The data of the leaf.
Trait Implementations§
Auto Trait Implementations§
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