Enum strict_encoding::ascii::HexDecSmall  
source · #[repr(u8)]pub enum HexDecSmall {
Show 16 variants
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
    Ten,
    Eleven,
    Twelve,
    Thirteen,
    Fourteen,
    Fifteen,
}Variants§
Trait Implementations§
source§impl Clone for HexDecSmall
 
impl Clone for HexDecSmall
source§fn clone(&self) -> HexDecSmall
 
fn clone(&self) -> HexDecSmall
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 HexDecSmall
 
impl Debug for HexDecSmall
source§impl Display for HexDecSmall
 
impl Display for HexDecSmall
source§impl From<HexDecSmall> for u8
 
impl From<HexDecSmall> for u8
source§fn from(value: HexDecSmall) -> u8
 
fn from(value: HexDecSmall) -> u8
Converts to this type from the input type.
source§impl Hash for HexDecSmall
 
impl Hash for HexDecSmall
source§impl Ord for HexDecSmall
 
impl Ord for HexDecSmall
source§fn cmp(&self, other: &HexDecSmall) -> Ordering
 
fn cmp(&self, other: &HexDecSmall) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HexDecSmall> for HexDecSmall
 
impl PartialEq<HexDecSmall> for HexDecSmall
source§fn eq(&self, other: &HexDecSmall) -> bool
 
fn eq(&self, other: &HexDecSmall) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HexDecSmall> for HexDecSmall
 
impl PartialOrd<HexDecSmall> for HexDecSmall
source§fn partial_cmp(&self, other: &HexDecSmall) -> Option<Ordering>
 
fn partial_cmp(&self, other: &HexDecSmall) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl StrictDecode for HexDecSmall
 
impl StrictDecode for HexDecSmall
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDumb for HexDecSmall
 
impl StrictDumb for HexDecSmall
fn strict_dumb() -> Self
source§impl StrictEncode for HexDecSmall
 
impl StrictEncode for HexDecSmall
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictEnum for HexDecSmall
 
impl StrictEnum for HexDecSmall
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictSum for HexDecSmall
 
impl StrictSum for HexDecSmall
const ALL_VARIANTS: &'static [(u8, &'static str)] = _
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<FieldName>
fn variant_ord(&self) -> u8
source§impl StrictType for HexDecSmall
 
impl StrictType for HexDecSmall
const STRICT_LIB_NAME: &'static str = STD_LIB
fn strict_name() -> Option<TypeName>
source§impl TryFrom<u8> for HexDecSmall
 
impl TryFrom<u8> for HexDecSmall
impl Copy for HexDecSmall
impl Eq for HexDecSmall
impl StructuralEq for HexDecSmall
impl StructuralPartialEq for HexDecSmall
Auto Trait Implementations§
impl RefUnwindSafe for HexDecSmall
impl Send for HexDecSmall
impl Sync for HexDecSmall
impl Unpin for HexDecSmall
impl UnwindSafe for HexDecSmall
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<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.