#[repr(transparent)]pub struct KeyCode(pub i32);Expand description
UnityEngine.KeyCode, for input. A few common keys are
named; any other can be made with KeyCode(value).
Tuple Fields§
§0: i32Implementations§
Source§impl KeyCode
impl KeyCode
pub const BACKSPACE: Self
pub const TAB: Self
pub const RETURN: Self
pub const ESCAPE: Self
pub const SPACE: Self
pub const DELETE: Self
pub const LEFT: Self
pub const RIGHT: Self
pub const UP: Self
pub const DOWN: Self
pub const INSERT: Self
pub const HOME: Self
pub const END: Self
pub const PAGE_UP: Self
pub const PAGE_DOWN: Self
pub const ALPHA0: Self
pub const ALPHA1: Self
pub const ALPHA2: Self
pub const ALPHA3: Self
pub const A: Self
pub const B: Self
pub const C: Self
pub const D: Self
pub const E: Self
pub const F: Self
pub const G: Self
pub const H: Self
pub const I: Self
pub const J: Self
pub const K: Self
pub const L: Self
pub const M: Self
pub const N: Self
pub const O: Self
pub const P: Self
pub const Q: Self
pub const R: Self
pub const S: Self
pub const T: Self
pub const U: Self
pub const V: Self
pub const W: Self
pub const X: Self
pub const Y: Self
pub const Z: Self
pub const F1: Self
pub const F2: Self
pub const F3: Self
pub const F4: Self
pub const F5: Self
pub const F6: Self
pub const RIGHT_SHIFT: Self
pub const LEFT_SHIFT: Self
pub const RIGHT_CONTROL: Self
pub const LEFT_CONTROL: Self
pub const RIGHT_ALT: Self
pub const LEFT_ALT: Self
Trait Implementations§
impl Copy for KeyCode
impl Eq for KeyCode
Source§impl Il2CppValue for KeyCode
impl Il2CppValue for KeyCode
impl StructuralPartialEq for KeyCode
Auto Trait Implementations§
impl Freeze for KeyCode
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnsafeUnpin for KeyCode
impl UnwindSafe for KeyCode
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