Enum async_std_hidg::Button
source · [−]#[repr(u8)]
pub enum Button {
None,
Primary,
Secondary,
Tertiary,
}
Expand description
Button code
Variants
None
No button
Primary
Primary button
Usually left for right hand.
Secondary
Secondary button
Usually right for right hand.
Tertiary
Tertiary button
Usually middle.
Implementations
Trait Implementations
impl Copy for Button
impl Eq for Button
impl StructuralEq for Button
impl StructuralPartialEq for Button
Auto Trait Implementations
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more