#[repr(C, packed(1))]pub struct PolarityEvent<Timestamp, X, Y> {
pub t: Timestamp,
pub x: X,
pub y: Y,
pub polarity: Polarity,
}
Fields§
§t: Timestamp
§x: X
§y: Y
§polarity: Polarity
Trait Implementations§
Source§impl<Timestamp: Clone + Copy, X: Clone + Copy, Y: Clone + Copy> Clone for PolarityEvent<Timestamp, X, Y>
impl<Timestamp: Clone + Copy, X: Clone + Copy, Y: Clone + Copy> Clone for PolarityEvent<Timestamp, X, Y>
Source§fn clone(&self) -> PolarityEvent<Timestamp, X, Y>
fn clone(&self) -> PolarityEvent<Timestamp, X, Y>
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: Debug + Copy, X: Debug + Copy, Y: Debug + Copy> Debug for PolarityEvent<Timestamp, X, Y>
impl<Timestamp: Debug + Copy, X: Debug + Copy, Y: Debug + Copy> Debug for PolarityEvent<Timestamp, X, Y>
Source§impl<Timestamp: Hash + Copy, X: Hash + Copy, Y: Hash + Copy> Hash for PolarityEvent<Timestamp, X, Y>
impl<Timestamp: Hash + Copy, X: Hash + Copy, Y: Hash + Copy> Hash for PolarityEvent<Timestamp, X, Y>
Source§impl<Timestamp: PartialEq + Copy, X: PartialEq + Copy, Y: PartialEq + Copy> PartialEq for PolarityEvent<Timestamp, X, Y>
impl<Timestamp: PartialEq + Copy, X: PartialEq + Copy, Y: PartialEq + Copy> PartialEq for PolarityEvent<Timestamp, X, Y>
Source§fn eq(&self, other: &PolarityEvent<Timestamp, X, Y>) -> bool
fn eq(&self, other: &PolarityEvent<Timestamp, X, Y>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<Timestamp, X, Y> SliceView for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> SliceView for PolarityEvent<Timestamp, X, Y>
impl<Timestamp: Copy, X: Copy, Y: Copy> Copy for PolarityEvent<Timestamp, X, Y>
impl<Timestamp: Eq + Copy, X: Eq + Copy, Y: Eq + Copy> Eq for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> StructuralPartialEq for PolarityEvent<Timestamp, X, Y>
Auto Trait Implementations§
impl<Timestamp, X, Y> Freeze for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> RefUnwindSafe for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> Send for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> Sync for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> Unpin for PolarityEvent<Timestamp, X, Y>
impl<Timestamp, X, Y> UnwindSafe for PolarityEvent<Timestamp, X, Y>
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