#[repr(C, packed(1))]pub struct TriggerEvent<Timestamp, Id> {
pub t: Timestamp,
pub id: Id,
pub polarity: TriggerPolarity,
}
Fields§
§t: Timestamp
§id: Id
§polarity: TriggerPolarity
Trait Implementations§
Source§impl<Timestamp: Clone + Copy, Id: Clone + Copy> Clone for TriggerEvent<Timestamp, Id>
impl<Timestamp: Clone + Copy, Id: Clone + Copy> Clone for TriggerEvent<Timestamp, Id>
Source§fn clone(&self) -> TriggerEvent<Timestamp, Id>
fn clone(&self) -> TriggerEvent<Timestamp, Id>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Timestamp: PartialEq + Copy, Id: PartialEq + Copy> PartialEq for TriggerEvent<Timestamp, Id>
impl<Timestamp: PartialEq + Copy, Id: PartialEq + Copy> PartialEq for TriggerEvent<Timestamp, Id>
Source§impl<Timestamp, Id> SliceView for TriggerEvent<Timestamp, Id>
impl<Timestamp, Id> SliceView for TriggerEvent<Timestamp, Id>
impl<Timestamp: Copy, Id: Copy> Copy for TriggerEvent<Timestamp, Id>
impl<Timestamp: Eq + Copy, Id: Eq + Copy> Eq for TriggerEvent<Timestamp, Id>
impl<Timestamp, Id> StructuralPartialEq for TriggerEvent<Timestamp, Id>
Auto Trait Implementations§
impl<Timestamp, Id> Freeze for TriggerEvent<Timestamp, Id>
impl<Timestamp, Id> RefUnwindSafe for TriggerEvent<Timestamp, Id>where
Timestamp: RefUnwindSafe,
Id: RefUnwindSafe,
impl<Timestamp, Id> Send for TriggerEvent<Timestamp, Id>
impl<Timestamp, Id> Sync for TriggerEvent<Timestamp, Id>
impl<Timestamp, Id> Unpin for TriggerEvent<Timestamp, Id>
impl<Timestamp, Id> UnwindSafe for TriggerEvent<Timestamp, Id>where
Timestamp: UnwindSafe,
Id: UnwindSafe,
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