pub struct ExtentLeaf {
pub block: u32,
pub len: u16,
pub start_hi: u16,
pub start_lo: u32,
}Expand description
A leaf entry in the extent tree, mapping logical blocks to physical blocks.
Fields§
§block: u32First logical block number that this extent covers.
len: u16Number of blocks covered by this extent. If the high bit is set, the extent is uninitialized (pre-allocated).
start_hi: u16Upper 16 bits of the 48-bit physical block number.
start_lo: u32Lower 32 bits of the 48-bit physical block number.
Implementations§
Trait Implementations§
Source§impl Clone for ExtentLeaf
impl Clone for ExtentLeaf
Source§fn clone(&self) -> ExtentLeaf
fn clone(&self) -> ExtentLeaf
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 ExtentLeaf
impl Debug for ExtentLeaf
Source§impl Default for ExtentLeaf
impl Default for ExtentLeaf
Source§fn default() -> ExtentLeaf
fn default() -> ExtentLeaf
Returns the “default value” for a type. Read more
impl Copy for ExtentLeaf
Auto Trait Implementations§
impl Freeze for ExtentLeaf
impl RefUnwindSafe for ExtentLeaf
impl Send for ExtentLeaf
impl Sync for ExtentLeaf
impl Unpin for ExtentLeaf
impl UnsafeUnpin for ExtentLeaf
impl UnwindSafe for ExtentLeaf
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