Enum strict_encoding::stl::HexDecCaps
source · #[repr(u8)]pub enum HexDecCaps {
Show 16 variants
Zero = 48,
One = 49,
Two = 50,
Three = 51,
Four = 52,
Five = 53,
Six = 54,
Seven = 55,
Eight = 56,
Nine = 57,
Ten = 65,
Eleven = 66,
Twelve = 67,
Thirteen = 68,
Fourteen = 69,
Fifteen = 70,
}
Variants§
Zero = 48
One = 49
Two = 50
Three = 51
Four = 52
Five = 53
Six = 54
Seven = 55
Eight = 56
Nine = 57
Ten = 65
Eleven = 66
Twelve = 67
Thirteen = 68
Fourteen = 69
Fifteen = 70
Trait Implementations§
source§impl Clone for HexDecCaps
impl Clone for HexDecCaps
source§fn clone(&self) -> HexDecCaps
fn clone(&self) -> HexDecCaps
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 HexDecCaps
impl Debug for HexDecCaps
source§impl Display for HexDecCaps
impl Display for HexDecCaps
source§impl From<HexDecCaps> for u8
impl From<HexDecCaps> for u8
source§fn from(value: HexDecCaps) -> u8
fn from(value: HexDecCaps) -> u8
Converts to this type from the input type.
source§impl Hash for HexDecCaps
impl Hash for HexDecCaps
source§impl Ord for HexDecCaps
impl Ord for HexDecCaps
source§fn cmp(&self, other: &HexDecCaps) -> Ordering
fn cmp(&self, other: &HexDecCaps) -> 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 for HexDecCaps
impl PartialEq for HexDecCaps
source§fn eq(&self, other: &HexDecCaps) -> bool
fn eq(&self, other: &HexDecCaps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HexDecCaps
impl PartialOrd for HexDecCaps
source§fn partial_cmp(&self, other: &HexDecCaps) -> Option<Ordering>
fn partial_cmp(&self, other: &HexDecCaps) -> 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 HexDecCaps
impl StrictDecode for HexDecCaps
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDumb for HexDecCaps
impl StrictDumb for HexDecCaps
fn strict_dumb() -> Self
source§impl StrictEncode for HexDecCaps
impl StrictEncode for HexDecCaps
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize>
source§impl StrictEnum for HexDecCaps
impl StrictEnum for HexDecCaps
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictSum for HexDecCaps
impl StrictSum for HexDecCaps
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 HexDecCaps
impl StrictType for HexDecCaps
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl TryFrom<u8> for HexDecCaps
impl TryFrom<u8> for HexDecCaps
impl Copy for HexDecCaps
impl Eq for HexDecCaps
impl StructuralEq for HexDecCaps
impl StructuralPartialEq for HexDecCaps
Auto Trait Implementations§
impl RefUnwindSafe for HexDecCaps
impl Send for HexDecCaps
impl Sync for HexDecCaps
impl Unpin for HexDecCaps
impl UnwindSafe for HexDecCaps
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.