#[repr(u16)]pub enum EncodingType {
U8 = 0,
U16 = 1,
U32 = 2,
U64 = 3,
I64 = 4,
Null = 5,
F64 = 6,
Bitvec = 7,
}
Variants§
Trait Implementations§
Source§impl Clone for EncodingType
impl Clone for EncodingType
Source§fn clone(&self) -> EncodingType
fn clone(&self) -> EncodingType
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 EncodingType
impl Debug for EncodingType
Source§impl<'a> From<EncodingType> for Reader<'a>
impl<'a> From<EncodingType> for Reader<'a>
Source§fn from(e: EncodingType) -> Self
fn from(e: EncodingType) -> Self
Converts to this type from the input type.
Source§impl From<EncodingType> for u16
impl From<EncodingType> for u16
Source§fn from(x: EncodingType) -> u16
fn from(x: EncodingType) -> u16
Converts to this type from the input type.
Source§impl Introspect for EncodingType
impl Introspect for EncodingType
Source§fn introspect() -> Type
fn introspect() -> Type
Retrieves a description of the type.
Source§impl PartialEq for EncodingType
impl PartialEq for EncodingType
Source§impl TryFrom<u16> for EncodingType
impl TryFrom<u16> for EncodingType
impl Copy for EncodingType
impl Eq for EncodingType
impl StructuralPartialEq for EncodingType
Auto Trait Implementations§
impl Freeze for EncodingType
impl RefUnwindSafe for EncodingType
impl Send for EncodingType
impl Sync for EncodingType
impl Unpin for EncodingType
impl UnwindSafe for EncodingType
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