Struct renforce::util::chooser::Uniform [] [src]

pub struct Uniform;

Represents a Chooser that picks each with equal probability

Trait Implementations

impl Debug for Uniform
[src]

Formats the value using the given formatter.

impl Clone for Uniform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Uniform
[src]

impl PartialEq for Uniform
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Clone> Chooser<T> for Uniform
[src]

returns an element of choices