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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more