Enum cml_chain::LenEncoding
source · pub enum LenEncoding {
Canonical,
Definite(Sz),
Indefinite,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for LenEncoding
impl Clone for LenEncoding
source§fn clone(&self) -> LenEncoding
fn clone(&self) -> LenEncoding
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 moresource§impl Debug for LenEncoding
impl Debug for LenEncoding
source§impl Default for LenEncoding
impl Default for LenEncoding
source§fn default() -> LenEncoding
fn default() -> LenEncoding
Returns the “default value” for a type. Read more
source§impl From<LenSz> for LenEncoding
impl From<LenSz> for LenEncoding
source§fn from(len_sz: LenSz) -> LenEncoding
fn from(len_sz: LenSz) -> LenEncoding
Converts to this type from the input type.
source§impl PartialEq for LenEncoding
impl PartialEq for LenEncoding
source§fn eq(&self, other: &LenEncoding) -> bool
fn eq(&self, other: &LenEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LenEncoding
impl Eq for LenEncoding
impl StructuralPartialEq for LenEncoding
Auto Trait Implementations§
impl Freeze for LenEncoding
impl RefUnwindSafe for LenEncoding
impl Send for LenEncoding
impl Sync for LenEncoding
impl Unpin for LenEncoding
impl UnwindSafe for LenEncoding
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> 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