Enum moa_host::MouseEventType
source · pub enum MouseEventType {
Down(MouseButton),
Up(MouseButton),
Move,
}
Variants§
Trait Implementations§
source§impl Clone for MouseEventType
impl Clone for MouseEventType
source§fn clone(&self) -> MouseEventType
fn clone(&self) -> MouseEventType
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 MouseEventType
impl Debug for MouseEventType
source§impl PartialEq for MouseEventType
impl PartialEq for MouseEventType
source§fn eq(&self, other: &MouseEventType) -> bool
fn eq(&self, other: &MouseEventType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MouseEventType
impl Eq for MouseEventType
impl StructuralPartialEq for MouseEventType
Auto Trait Implementations§
impl Freeze for MouseEventType
impl RefUnwindSafe for MouseEventType
impl Send for MouseEventType
impl Sync for MouseEventType
impl Unpin for MouseEventType
impl UnwindSafe for MouseEventType
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