Skip to main content

MeasureF64

Trait MeasureF64 

Source
pub trait MeasureF64<Ctx: ?Sized>: Send + Sync {
    // Required method
    fn measure(&self, ctx: &Ctx) -> f64;
}
Expand description

Measures a context and returns an f64 value.

Required Methods§

Source

fn measure(&self, ctx: &Ctx) -> f64

Extracts a measurable value from ctx.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§