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 ==
.impl Copy for CompressedFileRange
impl Eq for CompressedFileRange
impl StructuralEq for CompressedFileRange
impl StructuralPartialEq for CompressedFileRange
Auto Trait Implementations§
impl RefUnwindSafe for CompressedFileRange
impl Send for CompressedFileRange
impl Sync for CompressedFileRange
impl Unpin for CompressedFileRange
impl UnwindSafe for CompressedFileRange
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