Enum cml_core::serialization::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§impl From<LenSz> for LenEncoding
impl From<LenSz> for LenEncoding
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 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