Enum xplm::window::MouseAction
source · pub enum MouseAction {
Down,
Drag,
Up,
}
Expand description
Actions that the mouse/cursor can perform
Variants§
Down
The user pressed the mouse button down
Drag
The user moved the mouse with the mouse button down
Up
The user released the mouse button
Trait Implementations§
source§impl Clone for MouseAction
impl Clone for MouseAction
source§fn clone(&self) -> MouseAction
fn clone(&self) -> MouseAction
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 moreAuto Trait Implementations§
impl Freeze for MouseAction
impl RefUnwindSafe for MouseAction
impl Send for MouseAction
impl Sync for MouseAction
impl Unpin for MouseAction
impl UnwindSafe for MouseAction
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