Struct btrfs_diskformat::ExtentDataRef
source · #[repr(C, packed)]pub struct ExtentDataRef {
pub root: U64<LE>,
pub objectid: U64<LE>,
pub offset: U64<LE>,
pub count: U32<LE>,
}
Expand description
Contains an indirect back reference for a file data extent.
Immediately follows an ExtentInlineRef
. See that documentation for more details.
Fields
root: U64<LE>
The object ID for the file tree that references this extent.
objectid: U64<LE>
The object ID of the inode that contains the extent data that references this extent.
offset: U64<LE>
The offset within the file that corresponds to this extent.
count: U32<LE>
The reference count being held.
Trait Implementations
sourceimpl AsBytes for ExtentDataRef
impl AsBytes for ExtentDataRef
sourceimpl Clone for ExtentDataRef
impl Clone for ExtentDataRef
sourcefn clone(&self) -> ExtentDataRef
fn clone(&self) -> ExtentDataRef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExtentDataRef
impl Debug for ExtentDataRef
impl Copy for ExtentDataRef
impl FromBytes for ExtentDataRef
impl Unaligned for ExtentDataRef
Auto Trait Implementations
impl RefUnwindSafe for ExtentDataRef
impl Send for ExtentDataRef
impl Sync for ExtentDataRef
impl Unpin for ExtentDataRef
impl UnwindSafe for ExtentDataRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more