Struct adder_codec_core::Event
source · #[repr(packed(1))]pub struct Event {
pub coord: Coord,
pub d: D,
pub delta_t: DeltaT,
}
Expand description
An ADΔER event representation
Fields§
§coord: Coord
§d: D
§delta_t: DeltaT
Trait Implementations§
source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&Event> for EventSingle
impl From<&Event> for EventSingle
source§impl From<Event> for EventCoordless
impl From<Event> for EventCoordless
source§impl From<EventSingle> for Event
impl From<EventSingle> for Event
source§fn from(event: EventSingle) -> Self
fn from(event: EventSingle) -> Self
Converts to this type from the input type.
source§impl Ord for Event
impl Ord for Event
source§impl PartialEq for Event
impl PartialEq for Event
source§impl PartialOrd for Event
impl PartialOrd for Event
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Event
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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