pub struct ButtonEdge {
pub key: KeyId,
pub phase: ButtonPhase,
pub occurred_at: Timestamp,
pub recognized_at: Timestamp,
}Expand description
A physical edge after debounce confirmation.
Fields§
§key: KeyId§phase: ButtonPhase§occurred_at: TimestampLogical time at which the debounced edge occurred.
recognized_at: TimestampTime at which this stage recognized the edge.
Trait Implementations§
Source§impl Clone for ButtonEdge
impl Clone for ButtonEdge
impl Copy for ButtonEdge
Source§impl Debug for ButtonEdge
impl Debug for ButtonEdge
impl Eq for ButtonEdge
Source§impl Hash for ButtonEdge
impl Hash for ButtonEdge
Source§impl PartialEq for ButtonEdge
impl PartialEq for ButtonEdge
impl StructuralPartialEq for ButtonEdge
Auto Trait Implementations§
impl Freeze for ButtonEdge
impl RefUnwindSafe for ButtonEdge
impl Send for ButtonEdge
impl Sync for ButtonEdge
impl Unpin for ButtonEdge
impl UnsafeUnpin for ButtonEdge
impl UnwindSafe for ButtonEdge
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