Struct ruzstd::blocks::sequence_section::CompressionModes
source · pub struct CompressionModes(/* private fields */);
Expand description
This byte defines the compression mode of each symbol type
Implementations§
source§impl CompressionModes
impl CompressionModes
sourcepub fn decode_mode(m: u8) -> ModeType
pub fn decode_mode(m: u8) -> ModeType
Deserialize a two bit mode value into a ModeType
Trait Implementations§
source§impl Clone for CompressionModes
impl Clone for CompressionModes
source§fn clone(&self) -> CompressionModes
fn clone(&self) -> CompressionModes
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 moreimpl Copy for CompressionModes
Auto Trait Implementations§
impl Freeze for CompressionModes
impl RefUnwindSafe for CompressionModes
impl Send for CompressionModes
impl Sync for CompressionModes
impl Unpin for CompressionModes
impl UnwindSafe for CompressionModes
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
)