Enum pilka_lib::winit::winit::event::MouseButton [−]
pub enum MouseButton {
Left,
Right,
Middle,
Other(u16),
}
Expand description
Describes a button of a mouse controller.
Variants
Other(u16)
Trait Implementations
impl Clone for MouseButton
impl Clone for MouseButton
pub fn clone(&self) -> MouseButton
pub fn clone(&self) -> MouseButton
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for MouseButton
impl Debug for MouseButton
impl Hash for MouseButton
impl Hash for MouseButton
impl PartialEq<MouseButton> for MouseButton
impl PartialEq<MouseButton> for MouseButton
pub fn eq(&self, other: &MouseButton) -> bool
pub fn eq(&self, other: &MouseButton) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &MouseButton) -> bool
pub fn ne(&self, other: &MouseButton) -> bool
This method tests for !=
.
impl Copy for MouseButton
impl Eq for MouseButton
impl StructuralEq 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
Mutably borrows from an owned value. Read more