pub struct DropRecord {
pub drop_id: DropId,
pub plaintext_len: u32,
pub representation: Representation,
pub solid_window_index: u8,
pub offset_in_window: u32,
pub len_in_window: u32,
pub dict_id: u8,
pub flags: u8,
}Expand description
Parsed drop record.
Fields§
§drop_id: DropId§plaintext_len: u32§representation: Representation§solid_window_index: u8§offset_in_window: u32§len_in_window: u32§dict_id: u8Dictionary id for dict-aided decompression.
0xFF = no dictionary; 0..254 = index into dictionary_section.
flags: u8Record flags (trailing byte). Bit meanings:
crate::seekable::DROP_FLAG_SEEKABLE.
Trait Implementations§
Source§impl Clone for DropRecord
impl Clone for DropRecord
Source§fn clone(&self) -> DropRecord
fn clone(&self) -> DropRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DropRecord
Source§impl Debug for DropRecord
impl Debug for DropRecord
impl Eq for DropRecord
Source§impl PartialEq for DropRecord
impl PartialEq for DropRecord
impl StructuralPartialEq for DropRecord
Auto Trait Implementations§
impl Freeze for DropRecord
impl RefUnwindSafe for DropRecord
impl Send for DropRecord
impl Sync for DropRecord
impl Unpin for DropRecord
impl UnsafeUnpin for DropRecord
impl UnwindSafe for DropRecord
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more