Skip to main content

SamplesFn

Type Alias SamplesFn 

Source
pub type SamplesFn = Arc<dyn Fn(&mut Rng, DType) -> Vec<Sample> + Send + Sync>;
Expand description

Creates the samples of a primitive for one element type.

Aliased Typeยง

pub struct SamplesFn { /* private fields */ }