Struct object::read::CompressedFileRange
source · pub struct CompressedFileRange {
pub format: CompressionFormat,
pub offset: u64,
pub compressed_size: u64,
pub uncompressed_size: u64,
}
Expand description
A range in a file that may be compressed.
Fields§
§format: CompressionFormat
The data compression format.
offset: u64
The file offset of the compressed data.
compressed_size: u64
The compressed data size.
uncompressed_size: u64
The uncompressed data size.
Implementations§
Trait Implementations§
source§impl Clone for CompressedFileRange
impl Clone for CompressedFileRange
source§fn clone(&self) -> CompressedFileRange
fn clone(&self) -> CompressedFileRange
Returns a copy 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 CompressedFileRange
impl Debug for CompressedFileRange
source§impl Hash for CompressedFileRange
impl Hash for CompressedFileRange
source§impl PartialEq<CompressedFileRange> for CompressedFileRange
impl PartialEq<CompressedFileRange> for CompressedFileRange
source§fn eq(&self, other: &CompressedFileRange) -> bool
fn eq(&self, other: &CompressedFileRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.