Enum android_activity::input::Class
source · pub enum Class {
None,
Button,
Pointer,
Trackball,
Position,
Joystick,
}
Expand description
An enum representing the class of a MotionEvent
or KeyEvent
source
Variants§
Trait Implementations§
source§impl PartialEq<Class> for Class
impl PartialEq<Class> for Class
impl Copy for Class
impl Eq for Class
impl StructuralEq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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