pub enum InputMouseState {
None,
Left,
Middle,
Right,
Release,
Scroll,
}Expand description
Mouse input state. Up/Down, Left/Right, etc.
Variants§
Trait Implementations§
Source§impl Clone for InputMouseState
impl Clone for InputMouseState
Source§fn clone(&self) -> InputMouseState
fn clone(&self) -> InputMouseState
Returns a duplicate 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 Default for InputMouseState
impl Default for InputMouseState
Source§fn default() -> InputMouseState
fn default() -> InputMouseState
Returns the “default value” for a type. Read more
Source§impl Ord for InputMouseState
impl Ord for InputMouseState
Source§fn cmp(&self, other: &InputMouseState) -> Ordering
fn cmp(&self, other: &InputMouseState) -> 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 InputMouseState
impl PartialEq for InputMouseState
Source§impl PartialOrd for InputMouseState
impl PartialOrd for InputMouseState
impl Copy for InputMouseState
impl Eq for InputMouseState
impl StructuralPartialEq for InputMouseState
Auto Trait Implementations§
impl Freeze for InputMouseState
impl RefUnwindSafe for InputMouseState
impl Send for InputMouseState
impl Sync for InputMouseState
impl Unpin for InputMouseState
impl UnwindSafe for InputMouseState
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