Skip to main content

MeasureF32

Trait MeasureF32 

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

Measures a context and returns an f32 value.

Required Methods§

Source

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

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§