#[repr(i8)]pub enum Tryte {
Show 27 variants
N = -13,
O = -12,
P = -11,
Q = -10,
R = -9,
S = -8,
T = -7,
U = -6,
V = -5,
W = -4,
X = -3,
Y = -2,
Z = -1,
Nine = 0,
A = 1,
B = 2,
C = 3,
D = 4,
E = 5,
F = 6,
G = 7,
H = 8,
I = 9,
J = 10,
K = 11,
L = 12,
M = 13,
}Available on crate feature
ternary_encoding only.Expand description
A ternary tryte. Equivalent to 3 trits.
Variants§
N = -13
O = -12
P = -11
Q = -10
R = -9
S = -8
T = -7
U = -6
V = -5
W = -4
X = -3
Y = -2
Z = -1
Nine = 0
A = 1
B = 2
C = 3
D = 4
E = 5
F = 6
G = 7
H = 8
I = 9
J = 10
K = 11
L = 12
M = 13
Implementations§
Trait Implementations§
Source§impl FromIterator<Tryte> for TryteBuf
impl FromIterator<Tryte> for TryteBuf
impl Copy for Tryte
impl Eq for Tryte
impl StructuralPartialEq for Tryte
Auto Trait Implementations§
impl Freeze for Tryte
impl RefUnwindSafe for Tryte
impl Send for Tryte
impl Sync for Tryte
impl Unpin for Tryte
impl UnwindSafe for Tryte
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