Struct windowed_stats::experimental::clock::TimedSample
source · pub struct TimedSample<T> { /* private fields */ }
Expand description
A sample associated with a point in time.
Implementations§
source§impl<T> TimedSample<T>
impl<T> TimedSample<T>
Trait Implementations§
source§impl<T: Clone> Clone for TimedSample<T>
impl<T: Clone> Clone for TimedSample<T>
source§fn clone(&self) -> TimedSample<T>
fn clone(&self) -> TimedSample<T>
Returns a copy 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<T: Debug> Debug for TimedSample<T>
impl<T: Debug> Debug for TimedSample<T>
source§impl<T> From<TimedSample<T>> for (Timestamp, T)
impl<T> From<TimedSample<T>> for (Timestamp, T)
source§fn from(timed: TimedSample<T>) -> Self
fn from(timed: TimedSample<T>) -> Self
Converts to this type from the input type.
source§impl<T: Hash> Hash for TimedSample<T>
impl<T: Hash> Hash for TimedSample<T>
source§impl<T: PartialEq> PartialEq for TimedSample<T>
impl<T: PartialEq> PartialEq for TimedSample<T>
source§fn eq(&self, other: &TimedSample<T>) -> bool
fn eq(&self, other: &TimedSample<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<F, P> Sampler<TimedSample<<F as Statistic>::Sample>> for TimeMatrix<F, P>where
FoldError: From<F::Error>,
F: BufferStrategy<F::Aggregation, P> + Statistic,
P: Interpolation<FillSample<F> = F::Sample>,
impl<F, P> Sampler<TimedSample<<F as Statistic>::Sample>> for TimeMatrix<F, P>where
FoldError: From<F::Error>,
F: BufferStrategy<F::Aggregation, P> + Statistic,
P: Interpolation<FillSample<F> = F::Sample>,
source§impl<T> Sampler<TimedSample<T>> for MockTimeMatrix<T>
impl<T> Sampler<TimedSample<T>> for MockTimeMatrix<T>
impl<T: Copy> Copy for TimedSample<T>
impl<T: Eq> Eq for TimedSample<T>
impl<T> StructuralPartialEq for TimedSample<T>
Auto Trait Implementations§
impl<T> Freeze for TimedSample<T>where
T: Freeze,
impl<T> RefUnwindSafe for TimedSample<T>where
T: RefUnwindSafe,
impl<T> Send for TimedSample<T>where
T: Send,
impl<T> Sync for TimedSample<T>where
T: Sync,
impl<T> Unpin for TimedSample<T>where
T: Unpin,
impl<T> UnwindSafe for TimedSample<T>where
T: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)