pub struct OpMeasurement {
pub op: &'static str,
pub shape: &'static str,
pub burn_ms: f64,
pub max_abs_err: f32,
}Expand description
One timed op measurement: Burn time plus max abs error vs the host reference.
Fields§
§op: &'static str§shape: &'static str§burn_ms: f64§max_abs_err: f32Implementations§
Source§impl OpMeasurement
impl OpMeasurement
pub fn markdown_row(&self) -> String
Auto Trait Implementations§
impl Freeze for OpMeasurement
impl RefUnwindSafe for OpMeasurement
impl Send for OpMeasurement
impl Sync for OpMeasurement
impl Unpin for OpMeasurement
impl UnsafeUnpin for OpMeasurement
impl UnwindSafe for OpMeasurement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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