pub struct SparseSegment {
pub offset: u64,
pub len: u64,
}Expand description
One contiguous data region in a sparse file. Gaps are logical holes.
Fields§
§offset: u64Logical byte offset at which data begins.
len: u64Number of data bytes stored at this offset.
Trait Implementations§
Source§impl Clone for SparseSegment
impl Clone for SparseSegment
Source§fn clone(&self) -> SparseSegment
fn clone(&self) -> SparseSegment
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 SparseSegment
Source§impl Debug for SparseSegment
impl Debug for SparseSegment
impl Eq for SparseSegment
Source§impl PartialEq for SparseSegment
impl PartialEq for SparseSegment
impl StructuralPartialEq for SparseSegment
Auto Trait Implementations§
impl Freeze for SparseSegment
impl RefUnwindSafe for SparseSegment
impl Send for SparseSegment
impl Sync for SparseSegment
impl Unpin for SparseSegment
impl UnsafeUnpin for SparseSegment
impl UnwindSafe for SparseSegment
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