pub enum CircusCrxMode {
Fixed(u8),
Auto,
Origin,
Best,
}
Available on crate features
circus
and circus-img
only.Expand description
Circus CRX Row Encoding Mode
Variants§
Fixed(u8)
Encoding all rows with a fixed type.
Auto
When importing, use origin mode; when creating, use best mode.
Origin
Use origin mode for importing; when creating, fallback to best mode.
Best
Try to use the best mode for encoding.
Implementations§
Source§impl CircusCrxMode
impl CircusCrxMode
Sourcepub fn for_importing(&self) -> Self
pub fn for_importing(&self) -> Self
Returns mode for importing.
Sourcepub fn for_creating(&self) -> Self
pub fn for_creating(&self) -> Self
Returns mode for creating.
Trait Implementations§
Source§impl Clone for CircusCrxMode
impl Clone for CircusCrxMode
Source§fn clone(&self) -> CircusCrxMode
fn clone(&self) -> CircusCrxMode
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 CircusCrxMode
impl Debug for CircusCrxMode
Source§impl Default for CircusCrxMode
impl Default for CircusCrxMode
Source§impl PartialEq for CircusCrxMode
impl PartialEq for CircusCrxMode
Source§impl ValueEnum for CircusCrxMode
impl ValueEnum for CircusCrxMode
impl Copy for CircusCrxMode
impl Eq for CircusCrxMode
impl StructuralPartialEq for CircusCrxMode
Auto Trait Implementations§
impl Freeze for CircusCrxMode
impl RefUnwindSafe for CircusCrxMode
impl Send for CircusCrxMode
impl Sync for CircusCrxMode
impl Unpin for CircusCrxMode
impl UnwindSafe for CircusCrxMode
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more