pub struct NoIterationMetrics;Expand description
Metrics type for algorithms that have no stable algorithm-specific scalar.
Trait Implementations§
Source§impl AlgorithmIterationMetrics for NoIterationMetrics
impl AlgorithmIterationMetrics for NoIterationMetrics
Source§fn merge(&mut self, _other: Self)
fn merge(&mut self, _other: Self)
Deterministically accumulates metrics from another batch in schedule order.
Source§fn append_records(
&self,
_iteration: usize,
_output: &mut Vec<AlgorithmMetricRecord>,
)
fn append_records( &self, _iteration: usize, _output: &mut Vec<AlgorithmMetricRecord>, )
Appends stable scalar records for a one-based completed
iteration.Source§impl Clone for NoIterationMetrics
impl Clone for NoIterationMetrics
Source§fn clone(&self) -> NoIterationMetrics
fn clone(&self) -> NoIterationMetrics
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 moreSource§impl Debug for NoIterationMetrics
impl Debug for NoIterationMetrics
Source§impl Default for NoIterationMetrics
impl Default for NoIterationMetrics
Source§fn default() -> NoIterationMetrics
fn default() -> NoIterationMetrics
Returns the “default value” for a type. Read more
impl Copy for NoIterationMetrics
Auto Trait Implementations§
impl Freeze for NoIterationMetrics
impl RefUnwindSafe for NoIterationMetrics
impl Send for NoIterationMetrics
impl Sync for NoIterationMetrics
impl Unpin for NoIterationMetrics
impl UnsafeUnpin for NoIterationMetrics
impl UnwindSafe for NoIterationMetrics
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more