pub enum MouseButtonState {
Pressed,
Released,
}Expand description
Mouse button state.
Variants§
Trait Implementations§
Source§impl Debug for MouseButtonState
impl Debug for MouseButtonState
impl Eq for MouseButtonState
Source§impl Hash for MouseButtonState
impl Hash for MouseButtonState
Source§impl Ord for MouseButtonState
impl Ord for MouseButtonState
Source§fn cmp(&self, other: &MouseButtonState) -> Ordering
fn cmp(&self, other: &MouseButtonState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MouseButtonState
impl PartialEq for MouseButtonState
Source§fn eq(&self, other: &MouseButtonState) -> bool
fn eq(&self, other: &MouseButtonState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MouseButtonState
impl PartialOrd for MouseButtonState
impl StructuralPartialEq for MouseButtonState
Auto Trait Implementations§
impl Freeze for MouseButtonState
impl RefUnwindSafe for MouseButtonState
impl Send for MouseButtonState
impl Sync for MouseButtonState
impl Unpin for MouseButtonState
impl UnsafeUnpin for MouseButtonState
impl UnwindSafe for MouseButtonState
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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