pub struct DeviceState {
pub buttons: Vec<bool>,
pub encoders: Vec<bool>,
}Fields§
Buttons include Touch Points state
encoders: Vec<bool>Trait Implementations§
Source§impl Default for DeviceState
impl Default for DeviceState
Source§fn default() -> DeviceState
fn default() -> DeviceState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceState
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnsafeUnpin for DeviceState
impl UnwindSafe for DeviceState
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