Enum chiro::structures::TypeKeyCode
source · [−]pub enum TypeKeyCode {
Show 100 variants
Key0,
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
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,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
F13,
F14,
F15,
Down,
Left,
Right,
Up,
Apostrophe,
Backquote,
Backslash,
Comma,
Equal,
LeftBracket,
Minus,
Period,
RightBracket,
Semicolon,
Slash,
Backspace,
Delete,
End,
Enter,
Escape,
Home,
Insert,
Menu,
PageDown,
PageUp,
Pause,
Space,
Tab,
Tilde,
Exclamation,
At,
Pound,
Dollar,
Percent,
Caret,
Ampersand,
Asterisk,
LeftParen,
RightParen,
Underscore,
Plus,
LeftBrace,
RightBrace,
Pipe,
Colon,
DoubleQuote,
LessThan,
GreaterThan,
QuestionMark,
}Variants
Key0
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
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
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
Down
Left
Right
Up
Apostrophe
Backquote
Backslash
Comma
Equal
LeftBracket
Minus
Period
RightBracket
Semicolon
Slash
Backspace
Delete
End
Enter
Escape
Home
Insert
Menu
PageDown
PageUp
Pause
Space
Tab
Tilde
Exclamation
At
Pound
Dollar
Percent
Caret
Ampersand
Asterisk
LeftParen
RightParen
Underscore
Plus
LeftBrace
RightBrace
Pipe
Colon
DoubleQuote
LessThan
GreaterThan
QuestionMark
Trait Implementations
sourceimpl Clone for TypeKeyCode
impl Clone for TypeKeyCode
sourcefn clone(&self) -> TypeKeyCode
fn clone(&self) -> TypeKeyCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TypeKeyCode
impl Debug for TypeKeyCode
sourceimpl<V> Enum<V> for TypeKeyCode
impl<V> Enum<V> for TypeKeyCode
sourcefn from_usize(value: usize) -> Self
fn from_usize(value: usize) -> Self
Takes an usize, and returns an element matching into_usize function.
sourcefn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of 0..Array::LENGTH.
sourceimpl Hash for TypeKeyCode
impl Hash for TypeKeyCode
sourceimpl Ord for TypeKeyCode
impl Ord for TypeKeyCode
sourcefn cmp(&self, other: &TypeKeyCode) -> Ordering
fn cmp(&self, other: &TypeKeyCode) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<TypeKeyCode> for TypeKeyCode
impl PartialEq<TypeKeyCode> for TypeKeyCode
sourcefn eq(&self, other: &TypeKeyCode) -> bool
fn eq(&self, other: &TypeKeyCode) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl PartialOrd<TypeKeyCode> for TypeKeyCode
impl PartialOrd<TypeKeyCode> for TypeKeyCode
sourcefn partial_cmp(&self, other: &TypeKeyCode) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeKeyCode) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for TypeKeyCode
impl Eq for TypeKeyCode
impl StructuralEq for TypeKeyCode
impl StructuralPartialEq for TypeKeyCode
Auto Trait Implementations
impl RefUnwindSafe for TypeKeyCode
impl Send for TypeKeyCode
impl Sync for TypeKeyCode
impl Unpin for TypeKeyCode
impl UnwindSafe for TypeKeyCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more