pub enum ZSTD_ParamSwitch_e {
ZSTD_ps_auto = 0,
ZSTD_ps_enable = 1,
ZSTD_ps_disable = 2,
}Expand description
Note: this enum controls features which are conditionally beneficial.
Zstd can take a decision on whether or not to enable the feature (ZSTD_ps_auto),
or set the switch to ZSTD_ps_enable or ZSTD_ps_disable force enable/disable the feature.
Variants§
ZSTD_ps_auto = 0
Let the library automatically determine whether the feature shall be enabled
ZSTD_ps_enable = 1
Force-enable the feature
ZSTD_ps_disable = 2
Force-disable the feature
Implementations§
Trait Implementations§
Source§impl Clone for ZSTD_ParamSwitch_e
impl Clone for ZSTD_ParamSwitch_e
Source§fn clone(&self) -> ZSTD_ParamSwitch_e
fn clone(&self) -> ZSTD_ParamSwitch_e
Returns a duplicate 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 ZSTD_ParamSwitch_e
impl Debug for ZSTD_ParamSwitch_e
Source§impl PartialEq for ZSTD_ParamSwitch_e
impl PartialEq for ZSTD_ParamSwitch_e
Source§impl TryFrom<i32> for ZSTD_ParamSwitch_e
impl TryFrom<i32> for ZSTD_ParamSwitch_e
impl Copy for ZSTD_ParamSwitch_e
impl Eq for ZSTD_ParamSwitch_e
impl StructuralPartialEq for ZSTD_ParamSwitch_e
Auto Trait Implementations§
impl Freeze for ZSTD_ParamSwitch_e
impl RefUnwindSafe for ZSTD_ParamSwitch_e
impl Send for ZSTD_ParamSwitch_e
impl Sync for ZSTD_ParamSwitch_e
impl Unpin for ZSTD_ParamSwitch_e
impl UnsafeUnpin for ZSTD_ParamSwitch_e
impl UnwindSafe for ZSTD_ParamSwitch_e
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