Enum winput::Button [−][src]
pub enum Button { Left, Right, Middle, X1, X2, }
Expand description
A mouse button.
Variants
The left mouse button.
The right mouse button.
The middle mouse button.
The X1 mouse button.
The X2 mouse button.
Trait Implementations
Produces an Input
that causes the given action to be taken on self
. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Button
impl UnwindSafe for Button
Blanket Implementations
Mutably borrows from an owned value. Read more