Struct playdate_rs::system::ButtonState
source · pub struct ButtonState {
pub current: Buttons,
pub pushed: Buttons,
pub released: Buttons,
}Fields§
§current: Buttons§pushed: Buttons§released: ButtonsTrait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ButtonState
impl Send for ButtonState
impl Sync for ButtonState
impl Unpin for ButtonState
impl UnwindSafe for ButtonState
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