Available on crate feature
async only.Expand description
Tells what changed in button states
Variants
ButtonDown(u8)
Button got pressed down
ButtonUp(u8)
Button got released
Trait Implementations
sourceimpl Clone for ButtonStateUpdate
impl Clone for ButtonStateUpdate
sourcefn clone(&self) -> ButtonStateUpdate
fn clone(&self) -> ButtonStateUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ButtonStateUpdate
impl Debug for ButtonStateUpdate
sourceimpl Hash for ButtonStateUpdate
impl Hash for ButtonStateUpdate
impl Copy for ButtonStateUpdate
Auto Trait Implementations
impl RefUnwindSafe for ButtonStateUpdate
impl Send for ButtonStateUpdate
impl Sync for ButtonStateUpdate
impl Unpin for ButtonStateUpdate
impl UnwindSafe for ButtonStateUpdate
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