pub enum MouseButtonState {
Pressed,
Released,
}
Expand description
Mouse button state.
Variants§
Trait Implementations§
Source§impl Debug for MouseButtonState
impl Debug 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 · 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§impl PartialOrd for MouseButtonState
impl PartialOrd for MouseButtonState
impl Eq 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 UnwindSafe for MouseButtonState
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