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 more