pub enum MouseButtonState {
Up,
Down,
}
Expand description
Describes the mouse button state.
Variants§
Trait Implementations§
Source§impl Clone for MouseButtonState
impl Clone for MouseButtonState
Source§fn clone(&self) -> MouseButtonState
fn clone(&self) -> MouseButtonState
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 moreSource§impl Debug for MouseButtonState
impl Debug for MouseButtonState
Source§impl Default for MouseButtonState
impl Default for MouseButtonState
Source§impl PartialEq for MouseButtonState
impl PartialEq for MouseButtonState
impl Copy 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