Enum orc_format::proto::CompressionKind
source · [−]#[repr(i32)]
pub enum CompressionKind {
None,
Zlib,
Snappy,
Lzo,
}
Variants
None
Zlib
Snappy
Lzo
Implementations
Trait Implementations
sourceimpl Clone for CompressionKind
impl Clone for CompressionKind
sourcefn clone(&self) -> CompressionKind
fn clone(&self) -> CompressionKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompressionKind
impl Debug for CompressionKind
sourceimpl Default for CompressionKind
impl Default for CompressionKind
sourcefn default() -> CompressionKind
fn default() -> CompressionKind
Returns the “default value” for a type. Read more
sourceimpl From<CompressionKind> for i32
impl From<CompressionKind> for i32
sourcefn from(value: CompressionKind) -> i32
fn from(value: CompressionKind) -> i32
Converts to this type from the input type.
sourceimpl Hash for CompressionKind
impl Hash for CompressionKind
sourceimpl Ord for CompressionKind
impl Ord for CompressionKind
sourcefn cmp(&self, other: &CompressionKind) -> Ordering
fn cmp(&self, other: &CompressionKind) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CompressionKind> for CompressionKind
impl PartialEq<CompressionKind> for CompressionKind
sourceimpl PartialOrd<CompressionKind> for CompressionKind
impl PartialOrd<CompressionKind> for CompressionKind
sourcefn partial_cmp(&self, other: &CompressionKind) -> Option<Ordering>
fn partial_cmp(&self, other: &CompressionKind) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for CompressionKind
impl Eq for CompressionKind
impl StructuralEq for CompressionKind
impl StructuralPartialEq for CompressionKind
Auto Trait Implementations
impl RefUnwindSafe for CompressionKind
impl Send for CompressionKind
impl Sync for CompressionKind
impl Unpin for CompressionKind
impl UnwindSafe for CompressionKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more