pub enum WireButton {
Left,
Right,
Middle,
Back,
Forward,
Other(u16),
}Expand description
A mouse button.
Variants§
Left
The primary button.
Right
The secondary button.
Middle
The wheel button.
Back
Back.
Forward
Forward.
Other(u16)
Any other, by number.
Trait Implementations§
Source§impl Clone for WireButton
impl Clone for WireButton
impl Copy for WireButton
Source§impl Debug for WireButton
impl Debug for WireButton
Source§impl<'de> Deserialize<'de> for WireButton
impl<'de> Deserialize<'de> for WireButton
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WireButton
Source§impl Hash for WireButton
impl Hash for WireButton
Source§impl PartialEq for WireButton
impl PartialEq for WireButton
Source§impl Serialize for WireButton
impl Serialize for WireButton
impl StructuralPartialEq for WireButton
Auto Trait Implementations§
impl Forget for WireButton
impl Freeze for WireButton
impl Move for WireButton
impl RefUnwindSafe for WireButton
impl Send for WireButton
impl Sync for WireButton
impl Unpin for WireButton
impl UnsafeUnpin for WireButton
impl UnwindSafe for WireButton
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