pub struct ControlEdge {
pub control: ControlId,
pub phase: ButtonPhase,
pub occurred_at: Timestamp,
pub recognized_at: Timestamp,
}Expand description
A logical edge after chord arbitration.
Fields§
§control: ControlId§phase: ButtonPhase§occurred_at: TimestampOriginal logical edge time, preserved across chord buffering.
recognized_at: TimestampTime at which chord arbitration released or recognized the edge.
Trait Implementations§
Source§impl Clone for ControlEdge
impl Clone for ControlEdge
impl Copy for ControlEdge
Source§impl Debug for ControlEdge
impl Debug for ControlEdge
impl Eq for ControlEdge
Source§impl Hash for ControlEdge
impl Hash for ControlEdge
Source§impl PartialEq for ControlEdge
impl PartialEq for ControlEdge
impl StructuralPartialEq for ControlEdge
Auto Trait Implementations§
impl Freeze for ControlEdge
impl RefUnwindSafe for ControlEdge
impl Send for ControlEdge
impl Sync for ControlEdge
impl Unpin for ControlEdge
impl UnsafeUnpin for ControlEdge
impl UnwindSafe for ControlEdge
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