Trait ConstMultiDistribution

Source
pub trait ConstMultiDistribution<T>: MultiDistribution<T> {
    const SAMPLE_LEN: usize;
}
Expand description

An extension of MultiDistribution for multi-dimensional distributions of fixed dimension

Implementations may also implement Distribution<[T; SAMPLE_LEN]>.

Required Associated Constants§

Source

const SAMPLE_LEN: usize

Constant sample length (dimension of the distribution)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§