Trait random::Element [] [src]

pub trait Element {
    fn from<T: Source>(&mut T) -> Self;
}

A random element.

Required Methods

fn from<T: Source>(&mut T) -> Self

Create a random element from a source.

Implementors