Struct android_activity::input::KeyEventFlags
source · pub struct KeyEventFlags(pub u32);Expand description
Flags associated with KeyEvent.
See the NDK docs
Tuple Fields§
§0: u32Implementations§
source§impl KeyEventFlags
impl KeyEventFlags
pub fn cancelled(&self) -> bool
pub fn cancelled_long_press(&self) -> bool
pub fn editor_action(&self) -> bool
pub fn fallback(&self) -> bool
pub fn from_system(&self) -> bool
pub fn keep_touch_mode(&self) -> bool
pub fn long_press(&self) -> bool
pub fn soft_keyboard(&self) -> bool
pub fn tracking(&self) -> bool
pub fn virtual_hard_key(&self) -> bool
pub fn woke_here(&self) -> bool
Trait Implementations§
source§impl Clone for KeyEventFlags
impl Clone for KeyEventFlags
source§fn clone(&self) -> KeyEventFlags
fn clone(&self) -> KeyEventFlags
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 KeyEventFlags
impl Debug for KeyEventFlags
source§impl PartialEq<KeyEventFlags> for KeyEventFlags
impl PartialEq<KeyEventFlags> for KeyEventFlags
source§fn eq(&self, other: &KeyEventFlags) -> bool
fn eq(&self, other: &KeyEventFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.