#[repr(transparent)]pub struct Input_KeyStateAction(pub c_int);Available on crate feature
api-12 only.Expand description
Enumerated values of key event action.
Available since API-level: 12
Tuple Fields§
§0: c_intImplementations§
Source§impl Input_KeyStateAction
impl Input_KeyStateAction
Sourcepub const KEY_DEFAULT: Input_KeyStateAction
pub const KEY_DEFAULT: Input_KeyStateAction
Default
Source§impl Input_KeyStateAction
impl Input_KeyStateAction
Sourcepub const KEY_PRESSED: Input_KeyStateAction
pub const KEY_PRESSED: Input_KeyStateAction
Pressing of a key
Source§impl Input_KeyStateAction
impl Input_KeyStateAction
Sourcepub const KEY_RELEASED: Input_KeyStateAction
pub const KEY_RELEASED: Input_KeyStateAction
Release of a key
Source§impl Input_KeyStateAction
impl Input_KeyStateAction
Sourcepub const KEY_SWITCH_ON: Input_KeyStateAction
pub const KEY_SWITCH_ON: Input_KeyStateAction
Key switch enabled
Source§impl Input_KeyStateAction
impl Input_KeyStateAction
Sourcepub const KEY_SWITCH_OFF: Input_KeyStateAction
pub const KEY_SWITCH_OFF: Input_KeyStateAction
Key switch disabled
Trait Implementations§
Source§impl Clone for Input_KeyStateAction
impl Clone for Input_KeyStateAction
Source§fn clone(&self) -> Input_KeyStateAction
fn clone(&self) -> Input_KeyStateAction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Input_KeyStateAction
impl Debug for Input_KeyStateAction
Source§impl Hash for Input_KeyStateAction
impl Hash for Input_KeyStateAction
Source§impl PartialEq for Input_KeyStateAction
impl PartialEq for Input_KeyStateAction
impl Copy for Input_KeyStateAction
impl Eq for Input_KeyStateAction
impl StructuralPartialEq for Input_KeyStateAction
Auto Trait Implementations§
impl Freeze for Input_KeyStateAction
impl RefUnwindSafe for Input_KeyStateAction
impl Send for Input_KeyStateAction
impl Sync for Input_KeyStateAction
impl Unpin for Input_KeyStateAction
impl UnwindSafe for Input_KeyStateAction
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