pub struct EventBatch {
pub processed_at: Timestamp,
pub physical: Vec<ButtonEdge>,
pub events: Vec<ButtonEvent>,
pub next_wakeup: Option<Timestamp>,
}Expand description
Owned output of one framework update.
Fields§
§processed_at: TimestampTime through which the engine processed inputs and deadlines.
physical: Vec<ButtonEdge>Immediate physical edges, before any chord suppression or delay.
events: Vec<ButtonEvent>Logical state and gesture events.
next_wakeup: Option<Timestamp>Earliest gesture or chord deadline, if one is pending.
Implementations§
Trait Implementations§
Source§impl Clone for EventBatch
impl Clone for EventBatch
Source§fn clone(&self) -> EventBatch
fn clone(&self) -> EventBatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventBatch
impl Debug for EventBatch
Source§impl Default for EventBatch
impl Default for EventBatch
Source§fn default() -> EventBatch
fn default() -> EventBatch
Returns the “default value” for a type. Read more
impl Eq for EventBatch
Source§impl PartialEq for EventBatch
impl PartialEq for EventBatch
impl StructuralPartialEq for EventBatch
Auto Trait Implementations§
impl Freeze for EventBatch
impl RefUnwindSafe for EventBatch
impl Send for EventBatch
impl Sync for EventBatch
impl Unpin for EventBatch
impl UnsafeUnpin for EventBatch
impl UnwindSafe for EventBatch
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