pub struct Button(/* private fields */);Expand description
Mouse buttons.
Implementations§
Source§impl Button
impl Button
Sourcepub const X_BUTTON_1: Button
pub const X_BUTTON_1: Button
The first extra mouse button.
Sourcepub const X_BUTTON_2: Button
pub const X_BUTTON_2: Button
The second extra mouse button.
Trait Implementations§
Source§impl Ord for Button
impl Ord for Button
Source§impl PartialOrd for Button
impl PartialOrd for Button
impl Copy for Button
impl Eq for Button
impl StructuralPartialEq for Button
Auto Trait Implementations§
impl Freeze for Button
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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