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.
Returned by ObjectSection::compressed_file_range
.
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 for CompressedFileRange
impl PartialEq for CompressedFileRange
impl Copy for CompressedFileRange
impl Eq for CompressedFileRange
impl StructuralPartialEq for CompressedFileRange
Auto Trait Implementations§
impl Freeze for CompressedFileRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.