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: u32
Implementations§
source§impl MotionEventFlags
impl MotionEventFlags
pub fn window_is_obscured(self) -> bool
Trait Implementations§
source§impl Clone for MotionEventFlags
impl Clone for MotionEventFlags
source§fn clone(&self) -> MotionEventFlags
fn clone(&self) -> MotionEventFlags
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 MotionEventFlags
impl Debug for MotionEventFlags
source§impl From<MotionEventFlags> for MotionEventFlags
impl From<MotionEventFlags> for MotionEventFlags
source§fn from(value: MotionEventFlags) -> Self
fn from(value: MotionEventFlags) -> Self
Converts to this type from the input type.
source§impl PartialEq for MotionEventFlags
impl PartialEq for MotionEventFlags
source§fn 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 ==
.impl Copy for MotionEventFlags
impl Eq for MotionEventFlags
impl StructuralPartialEq for MotionEventFlags
Auto Trait Implementations§
impl Freeze for MotionEventFlags
impl RefUnwindSafe for MotionEventFlags
impl Send for MotionEventFlags
impl Sync for MotionEventFlags
impl Unpin for MotionEventFlags
impl UnwindSafe for MotionEventFlags
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