pub struct ExtentIndex {
pub block: u32,
pub leaf_lo: u32,
pub leaf_hi: u16,
pub unused: u16,
}Expand description
An internal (index) entry in the extent tree, pointing to the next level.
Fields§
§block: u32Logical block number – this index covers blocks >= block.
leaf_lo: u32Lower 32 bits of the physical block containing the child node.
leaf_hi: u16Upper 16 bits of the physical block containing the child node.
unused: u16Implementations§
Trait Implementations§
Source§impl Clone for ExtentIndex
impl Clone for ExtentIndex
Source§fn clone(&self) -> ExtentIndex
fn clone(&self) -> ExtentIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtentIndex
impl Debug for ExtentIndex
Source§impl Default for ExtentIndex
impl Default for ExtentIndex
Source§fn default() -> ExtentIndex
fn default() -> ExtentIndex
Returns the “default value” for a type. Read more
impl Copy for ExtentIndex
Auto Trait Implementations§
impl Freeze for ExtentIndex
impl RefUnwindSafe for ExtentIndex
impl Send for ExtentIndex
impl Sync for ExtentIndex
impl Unpin for ExtentIndex
impl UnsafeUnpin for ExtentIndex
impl UnwindSafe for ExtentIndex
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