#[repr(u32)]pub enum StandardButton {
MousePrimary = 0,
MouseSecondary = 1,
KeyPrimary = 2,
KeySecondary = 3,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StandardButton
impl Clone for StandardButton
Source§fn clone(&self) -> StandardButton
fn clone(&self) -> StandardButton
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 Debug for StandardButton
impl Debug for StandardButton
Source§impl Hash for StandardButton
impl Hash for StandardButton
Source§impl PartialEq for StandardButton
impl PartialEq for StandardButton
impl Copy for StandardButton
impl Eq for StandardButton
impl StructuralPartialEq for StandardButton
Auto Trait Implementations§
impl Freeze for StandardButton
impl RefUnwindSafe for StandardButton
impl Send for StandardButton
impl Sync for StandardButton
impl Unpin for StandardButton
impl UnwindSafe for StandardButton
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