pub enum ButtonAction {
Press,
Release,
}
Expand description
A button input action.
Variants§
Trait Implementations§
Source§impl Clone for ButtonAction
impl Clone for ButtonAction
Source§fn clone(&self) -> ButtonAction
fn clone(&self) -> ButtonAction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ButtonAction
impl Debug for ButtonAction
Source§impl Hash for ButtonAction
impl Hash for ButtonAction
Source§impl PartialEq for ButtonAction
impl PartialEq for ButtonAction
impl Copy for ButtonAction
impl Eq for ButtonAction
impl StructuralPartialEq for ButtonAction
Auto Trait Implementations§
impl Freeze for ButtonAction
impl RefUnwindSafe for ButtonAction
impl Send for ButtonAction
impl Sync for ButtonAction
impl Unpin for ButtonAction
impl UnwindSafe for ButtonAction
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