pub struct SingleFileExtent {
pub data_offset: u64,
pub data_size: u64,
pub sparse: bool,
}Expand description
Data extent for a logical single-file entry.
Fields§
§data_offset: u64Logical media offset where this extent’s data starts.
data_size: u64Number of bytes represented by this extent.
sparse: boolWhether the extent is sparse and should read as zeroes.
Trait Implementations§
Source§impl Clone for SingleFileExtent
impl Clone for SingleFileExtent
Source§fn clone(&self) -> SingleFileExtent
fn clone(&self) -> SingleFileExtent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SingleFileExtent
Source§impl Debug for SingleFileExtent
impl Debug for SingleFileExtent
impl Eq for SingleFileExtent
Source§impl PartialEq for SingleFileExtent
impl PartialEq for SingleFileExtent
impl StructuralPartialEq for SingleFileExtent
Auto Trait Implementations§
impl Freeze for SingleFileExtent
impl RefUnwindSafe for SingleFileExtent
impl Send for SingleFileExtent
impl Sync for SingleFileExtent
impl Unpin for SingleFileExtent
impl UnsafeUnpin for SingleFileExtent
impl UnwindSafe for SingleFileExtent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.