Struct android_activity::input::MotionEventFlags
source · [−]pub struct MotionEventFlags(pub u32);Expand description
Flags associated with this MotionEvent.
See the NDK docs
Tuple Fields
0: u32Implementations
sourceimpl MotionEventFlags
impl MotionEventFlags
pub fn window_is_obscured(self) -> bool
Trait Implementations
sourceimpl Clone for MotionEventFlags
impl Clone for MotionEventFlags
sourcefn clone(&self) -> MotionEventFlags
fn clone(&self) -> MotionEventFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MotionEventFlags
impl Debug for MotionEventFlags
sourceimpl PartialEq<MotionEventFlags> for MotionEventFlags
impl PartialEq<MotionEventFlags> for MotionEventFlags
sourcefn eq(&self, other: &MotionEventFlags) -> bool
fn eq(&self, other: &MotionEventFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for MotionEventFlags
impl Eq for MotionEventFlags
impl StructuralEq for MotionEventFlags
impl StructuralPartialEq for MotionEventFlags
Auto Trait Implementations
impl RefUnwindSafe for MotionEventFlags
impl Send for MotionEventFlags
impl Sync for MotionEventFlags
impl Unpin for MotionEventFlags
impl UnwindSafe for MotionEventFlags
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