#[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
Sourcepub const KEY_PRESSED: Input_KeyStateAction
pub const KEY_PRESSED: Input_KeyStateAction
Pressing of a key
Sourcepub const KEY_RELEASED: Input_KeyStateAction
pub const KEY_RELEASED: Input_KeyStateAction
Release of a key
Sourcepub const KEY_SWITCH_ON: Input_KeyStateAction
pub const KEY_SWITCH_ON: Input_KeyStateAction
Key switch enabled
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 duplicate of the value. Read more
1.0.0§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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)