Enum calc_common::Character
source · #[repr(u8)]pub enum Character {
Show 44 variants
Zero,
One,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
Plus,
Minus,
Multiply,
Slash,
Caret,
OpenParen,
CloseParen,
Dot,
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L,
M,
N,
O,
P,
Q,
R,
S,
T,
U,
V,
W,
X,
Y,
Z,
}
Expand description
Represents a character that can be put into an expression.
Variants§
Zero
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Plus
Minus
Multiply
Slash
Caret
OpenParen
CloseParen
Dot
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Implementations§
Trait Implementations§
source§impl AsMut<DrawableCharacter> for Character
impl AsMut<DrawableCharacter> for Character
source§fn as_mut(&mut self) -> &mut DrawableCharacter
fn as_mut(&mut self) -> &mut DrawableCharacter
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<DrawableCharacter> for Character
impl AsRef<DrawableCharacter> for Character
source§fn as_ref(&self) -> &DrawableCharacter
fn as_ref(&self) -> &DrawableCharacter
Converts this type into a shared reference of the (usually inferred) input type.
source§impl From<Character> for DrawableCharacter
impl From<Character> for DrawableCharacter
source§impl PartialEq<Character> for Character
impl PartialEq<Character> for Character
source§impl TransmutableFrom<Character> for DrawableCharacter
impl TransmutableFrom<Character> for DrawableCharacter
fn transmute_from(val: Character) -> Self
fn transmute_slice_from(val: &[T]) -> &[Self]
fn transmute_slice_from_mut(val: &mut [T]) -> &mut [Self]
impl Copy for Character
impl Eq for Character
impl StructuralEq for Character
impl StructuralPartialEq for Character
Auto Trait Implementations§
impl RefUnwindSafe for Character
impl Send for Character
impl Sync for Character
impl Unpin for Character
impl UnwindSafe for Character
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