Enum minifb::MouseButton
source · pub enum MouseButton {
Left,
Middle,
Right,
}
Expand description
The various mouse buttons that are availible
Variants
Trait Implementations
sourceimpl Clone for MouseButton
impl Clone for MouseButton
sourcefn clone(&self) -> MouseButton
fn clone(&self) -> MouseButton
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 moresourceimpl Debug for MouseButton
impl Debug for MouseButton
sourceimpl PartialEq<MouseButton> for MouseButton
impl PartialEq<MouseButton> for MouseButton
sourcefn eq(&self, other: &MouseButton) -> bool
fn eq(&self, other: &MouseButton) -> bool
impl Copy for MouseButton
impl StructuralPartialEq for MouseButton
Auto Trait Implementations
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnwindSafe for MouseButton
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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