Struct std::random::Bernoulli

struct Bernoulli { ... }

Bernoulli distribution. Returns true with probability p and false with probability 1 - p.

Example

Methods

impl Bernoulli { ... }

Mixins

impl Bernoulli { ... }