Enum strict_encoding::stl::AlphaNumDash
source · #[repr(u8)]pub enum AlphaNumDash {
Show 63 variants
Dash = 45,
Zero = 48,
One = 49,
Two = 50,
Three = 51,
Four = 52,
Five = 53,
Six = 54,
Seven = 55,
Eight = 56,
Nine = 57,
A = 65,
B = 66,
C = 67,
D = 68,
E = 69,
F = 70,
G = 71,
H = 72,
I = 73,
J = 74,
K = 75,
L = 76,
M = 77,
N = 78,
O = 79,
P = 80,
Q = 81,
R = 82,
S = 83,
T = 84,
U = 85,
V = 86,
W = 87,
X = 88,
Y = 89,
Z = 90,
a = 97,
b = 98,
c = 99,
d = 100,
e = 101,
f = 102,
g = 103,
h = 104,
i = 105,
j = 106,
k = 107,
l = 108,
m = 109,
n = 110,
o = 111,
p = 112,
q = 113,
r = 114,
s = 115,
t = 116,
u = 117,
v = 118,
w = 119,
x = 120,
y = 121,
z = 122,
}
Variants§
Dash = 45
Zero = 48
One = 49
Two = 50
Three = 51
Four = 52
Five = 53
Six = 54
Seven = 55
Eight = 56
Nine = 57
A = 65
B = 66
C = 67
D = 68
E = 69
F = 70
G = 71
H = 72
I = 73
J = 74
K = 75
L = 76
M = 77
N = 78
O = 79
P = 80
Q = 81
R = 82
S = 83
T = 84
U = 85
V = 86
W = 87
X = 88
Y = 89
Z = 90
a = 97
b = 98
c = 99
d = 100
e = 101
f = 102
g = 103
h = 104
i = 105
j = 106
k = 107
l = 108
m = 109
n = 110
o = 111
p = 112
q = 113
r = 114
s = 115
t = 116
u = 117
v = 118
w = 119
x = 120
y = 121
z = 122
Trait Implementations§
source§impl Clone for AlphaNumDash
impl Clone for AlphaNumDash
source§fn clone(&self) -> AlphaNumDash
fn clone(&self) -> AlphaNumDash
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 AlphaNumDash
impl Debug for AlphaNumDash
source§impl Display for AlphaNumDash
impl Display for AlphaNumDash
source§impl From<AlphaNumDash> for u8
impl From<AlphaNumDash> for u8
source§fn from(value: AlphaNumDash) -> u8
fn from(value: AlphaNumDash) -> u8
Converts to this type from the input type.
source§impl Hash for AlphaNumDash
impl Hash for AlphaNumDash
source§impl Ord for AlphaNumDash
impl Ord for AlphaNumDash
source§fn cmp(&self, other: &AlphaNumDash) -> Ordering
fn cmp(&self, other: &AlphaNumDash) -> 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 AlphaNumDash
impl PartialEq for AlphaNumDash
source§fn eq(&self, other: &AlphaNumDash) -> bool
fn eq(&self, other: &AlphaNumDash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AlphaNumDash
impl PartialOrd for AlphaNumDash
source§fn partial_cmp(&self, other: &AlphaNumDash) -> Option<Ordering>
fn partial_cmp(&self, other: &AlphaNumDash) -> 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 AlphaNumDash
impl StrictDecode for AlphaNumDash
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 AlphaNumDash
impl StrictDumb for AlphaNumDash
fn strict_dumb() -> Self
source§impl StrictEncode for AlphaNumDash
impl StrictEncode for AlphaNumDash
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 AlphaNumDash
impl StrictEnum for AlphaNumDash
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictSum for AlphaNumDash
impl StrictSum for AlphaNumDash
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 AlphaNumDash
impl StrictType for AlphaNumDash
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl TryFrom<u8> for AlphaNumDash
impl TryFrom<u8> for AlphaNumDash
impl Copy for AlphaNumDash
impl Eq for AlphaNumDash
impl StructuralEq for AlphaNumDash
impl StructuralPartialEq for AlphaNumDash
Auto Trait Implementations§
impl RefUnwindSafe for AlphaNumDash
impl Send for AlphaNumDash
impl Sync for AlphaNumDash
impl Unpin for AlphaNumDash
impl UnwindSafe for AlphaNumDash
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.