pub enum ButtonAction {
Down,
Up,
Both,
}Variants§
Implementations§
Source§impl ButtonAction
impl ButtonAction
pub fn as_btn_prefix(&self) -> &'static str
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ButtonAction
impl Debug for ButtonAction
Source§impl Default for ButtonAction
impl Default for ButtonAction
Source§impl Display for ButtonAction
impl Display for ButtonAction
Source§impl ValueEnum for ButtonAction
impl ValueEnum for ButtonAction
impl Copy 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