pub struct LeafRef {
pub first: usize,
pub n: usize,
pub off: u64,
pub len: u64,
}Expand description
One leaf of a two-level directory, as the root describes it.
Fields§
§first: usizeIndex of the leaf’s first entry in the whole unit.
n: usizeEntries in the leaf.
off: u64Leaf offset within its leaves section.
len: u64Stored (compressed) leaf length.
Trait Implementations§
impl Eq for LeafRef
impl StructuralPartialEq for LeafRef
Auto Trait Implementations§
impl Freeze for LeafRef
impl RefUnwindSafe for LeafRef
impl Send for LeafRef
impl Sync for LeafRef
impl Unpin for LeafRef
impl UnsafeUnpin for LeafRef
impl UnwindSafe for LeafRef
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