#[repr(transparent)]pub struct Input_KeyEventAction(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates key event types.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl Input_KeyEventAction
impl Input_KeyEventAction
Sourcepub const KEY_ACTION_CANCEL: Input_KeyEventAction
pub const KEY_ACTION_CANCEL: Input_KeyEventAction
Cancellation of a key action.
Source§impl Input_KeyEventAction
impl Input_KeyEventAction
Sourcepub const KEY_ACTION_DOWN: Input_KeyEventAction
pub const KEY_ACTION_DOWN: Input_KeyEventAction
Pressing of a key.
Source§impl Input_KeyEventAction
impl Input_KeyEventAction
Sourcepub const KEY_ACTION_UP: Input_KeyEventAction
pub const KEY_ACTION_UP: Input_KeyEventAction
Release of a key.
Trait Implementations§
Source§impl Clone for Input_KeyEventAction
impl Clone for Input_KeyEventAction
Source§fn clone(&self) -> Input_KeyEventAction
fn clone(&self) -> Input_KeyEventAction
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_KeyEventAction
impl Debug for Input_KeyEventAction
Source§impl Hash for Input_KeyEventAction
impl Hash for Input_KeyEventAction
Source§impl PartialEq for Input_KeyEventAction
impl PartialEq for Input_KeyEventAction
impl Copy for Input_KeyEventAction
impl Eq for Input_KeyEventAction
impl StructuralPartialEq for Input_KeyEventAction
Auto Trait Implementations§
impl Freeze for Input_KeyEventAction
impl RefUnwindSafe for Input_KeyEventAction
impl Send for Input_KeyEventAction
impl Sync for Input_KeyEventAction
impl Unpin for Input_KeyEventAction
impl UnwindSafe for Input_KeyEventAction
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