pub struct TimestampPair<A, B> {
pub left: A,
pub right: B,
pub delta_ms: u128,
}Fields§
§left: A§right: B§delta_ms: u128Trait Implementations§
Source§impl<A: Clone, B: Clone> Clone for TimestampPair<A, B>
impl<A: Clone, B: Clone> Clone for TimestampPair<A, B>
Source§fn clone(&self) -> TimestampPair<A, B>
fn clone(&self) -> TimestampPair<A, B>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Eq, B: Eq> Eq for TimestampPair<A, B>
Source§impl<A: PartialEq, B: PartialEq> PartialEq for TimestampPair<A, B>
impl<A: PartialEq, B: PartialEq> PartialEq for TimestampPair<A, B>
Source§fn eq(&self, other: &TimestampPair<A, B>) -> bool
fn eq(&self, other: &TimestampPair<A, B>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<A: PartialEq, B: PartialEq> StructuralPartialEq for TimestampPair<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for TimestampPair<A, B>
impl<A, B> RefUnwindSafe for TimestampPair<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for TimestampPair<A, B>
impl<A, B> Sync for TimestampPair<A, B>
impl<A, B> Unpin for TimestampPair<A, B>
impl<A, B> UnsafeUnpin for TimestampPair<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for TimestampPair<A, B>where
A: UnwindSafe,
B: 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