pub trait SamplerStats<M: Math> {
type Stats: Storable<StatsDims>;
type StatsOptions: Copy + Send + Sync;
// Required method
fn extract_stats(
&self,
math: &mut M,
opt: Self::StatsOptions,
) -> Self::Stats;
}Required Associated Types§
Required Methods§
fn extract_stats(&self, math: &mut M, opt: Self::StatsOptions) -> Self::Stats
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".