Trait probability::distribution::Sample [] [src]

pub trait Sample: Distribution {
    fn sample<S>(&self, &mut S) -> Self::Value where S: Source;
}

A distribution capable of sampling.

Required Methods

fn sample<S>(&self, &mut S) -> Self::Value where S: Source

Draw a sample.

Implementors