pub struct SparseEntry {
pub offset: u64,
pub length: u64,
}Expand description
A decoded sparse file data region.
Each entry describes a contiguous region of real data within a sparse file. Gaps between entries are implicitly zero-filled.
Fields§
§offset: u64Byte offset of this data region within the logical file.
length: u64Number of bytes of real data in this region.
Trait Implementations§
Source§impl Clone for SparseEntry
impl Clone for SparseEntry
Source§fn clone(&self) -> SparseEntry
fn clone(&self) -> SparseEntry
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 SparseEntry
impl Debug for SparseEntry
Source§impl PartialEq for SparseEntry
impl PartialEq for SparseEntry
impl Copy for SparseEntry
impl Eq for SparseEntry
impl StructuralPartialEq for SparseEntry
Auto Trait Implementations§
impl Freeze for SparseEntry
impl RefUnwindSafe for SparseEntry
impl Send for SparseEntry
impl Sync for SparseEntry
impl Unpin for SparseEntry
impl UnsafeUnpin for SparseEntry
impl UnwindSafe for SparseEntry
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