pub struct ChunkMapEntry {
pub index: usize,
pub start: u64,
pub end: u64,
}Expand description
Mapping of a chunk within the logical file.
Used internally to map byte offsets to physical chunks.
Stored sorted by start offset to enable binary search.
Fields§
§index: usizeIndex into the chunks array.
start: u64Start offset within the logical file (inclusive).
end: u64End offset within the logical file (inclusive).
Trait Implementations§
Source§impl Clone for ChunkMapEntry
impl Clone for ChunkMapEntry
Source§fn clone(&self) -> ChunkMapEntry
fn clone(&self) -> ChunkMapEntry
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 ChunkMapEntry
impl Debug for ChunkMapEntry
Source§impl PartialEq for ChunkMapEntry
impl PartialEq for ChunkMapEntry
impl Eq for ChunkMapEntry
impl StructuralPartialEq for ChunkMapEntry
Auto Trait Implementations§
impl Freeze for ChunkMapEntry
impl RefUnwindSafe for ChunkMapEntry
impl Send for ChunkMapEntry
impl Sync for ChunkMapEntry
impl Unpin for ChunkMapEntry
impl UnwindSafe for ChunkMapEntry
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