pub struct ZstdDictionary {
pub zdic_version: u32,
pub dict_id: u32,
pub dict_bytes: Vec<u8>,
}Expand description
The ZDIC chunk.
Fields§
§zdic_version: u32Layout version. 1 for this specification.
dict_id: u32The dictionary ID, which every LAYR frame must report.
dict_bytes: Vec<u8>Raw dictionary bytes, exactly as ZDICT_trainFromBuffer produced them.
Implementations§
Trait Implementations§
Source§impl Clone for ZstdDictionary
impl Clone for ZstdDictionary
Source§fn clone(&self) -> ZstdDictionary
fn clone(&self) -> ZstdDictionary
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 moreSource§impl Debug for ZstdDictionary
impl Debug for ZstdDictionary
impl Eq for ZstdDictionary
Source§impl PartialEq for ZstdDictionary
impl PartialEq for ZstdDictionary
impl StructuralPartialEq for ZstdDictionary
Auto Trait Implementations§
impl Freeze for ZstdDictionary
impl RefUnwindSafe for ZstdDictionary
impl Send for ZstdDictionary
impl Sync for ZstdDictionary
impl Unpin for ZstdDictionary
impl UnsafeUnpin for ZstdDictionary
impl UnwindSafe for ZstdDictionary
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