Enum Strategy
pub enum Strategy
Variants
-
Default = 0 -
Filtered = 1 -
HuffmanOnly = 2 -
Rle = 3 -
Fixed = 4
Trait Implementations
impl Clone for Strategy
fn clone(&self) -> Self
impl Copy for Strategy
impl Debug for Strategy
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for Strategy
fn default() -> Self
impl Eq for Strategy
impl Hash for Strategy
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for Strategy
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for Strategy
fn eq(&self, other: &Self) -> bool
impl PartialOrd for Strategy
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
impl StructuralPartialEq for Strategy
impl TryFrom<i32> for Strategy
type Error = ();fn try_from(value: i32) -> Result<Self, Self::Error>
Auto Trait Implementations
impl Freeze for Strategy
impl RefUnwindSafe for Strategy
impl Send for Strategy
impl Sync for Strategy
impl Unpin for Strategy
impl UnsafeUnpin for Strategy
impl UnwindSafe for Strategy
Blanket Implementations
impl<T> Any for Strategy
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Strategy
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Strategy
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Strategy
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Strategy
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Strategy
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Strategy
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Strategy
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Strategy
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>