pub struct Press {
pub mask: u16,
pub start: i64,
pub hold: i64,
}Expand description
A press BUTTONS@FRAME+HOLD (the reference’s scripts/presses.py): the buttons, joined
with -, are held while the count of completed frames is in FRAME .. FRAME+HOLD-1.
Fields§
§mask: u16§start: i64§hold: i64Trait Implementations§
impl Eq for Press
impl StructuralPartialEq for Press
Auto Trait Implementations§
impl Freeze for Press
impl RefUnwindSafe for Press
impl Send for Press
impl Sync for Press
impl Unpin for Press
impl UnwindSafe for Press
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