Struct ark_api_ffi::applet_v0::KeyInput
source · [−]#[repr(C)]pub struct KeyInput {
pub event_type: KeyEventType,
pub code: VirtualKeyCode,
pub text: char,
}Fields
event_type: KeyEventTypecode: VirtualKeyCodetext: charTrait Implementations
sourceimpl CheckedBitPattern for KeyInput
impl CheckedBitPattern for KeyInput
type Bits = KeyInputBits
type Bits = KeyInputBits
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
sourcefn is_valid_bit_pattern(bits: &KeyInputBits) -> bool
fn is_valid_bit_pattern(bits: &KeyInputBits) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.
impl Copy for KeyInput
impl Eq for KeyInput
impl NoUninit for KeyInput
impl StructuralEq for KeyInput
impl StructuralPartialEq for KeyInput
Auto Trait Implementations
impl RefUnwindSafe for KeyInput
impl Send for KeyInput
impl Sync for KeyInput
impl Unpin for KeyInput
impl UnwindSafe for KeyInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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