[][src]Struct oorandom::Rand32

pub struct Rand32 { /* fields omitted */ }

A PRNG producing a 32-bit output.

Methods

impl Rand32[src]

pub fn new(seed: u64) -> Self[src]

pub fn rand(&mut self) -> u32[src]

Trait Implementations

impl Debug for Rand32[src]

impl PartialEq<Rand32> for Rand32[src]

impl Copy for Rand32[src]

impl Clone for Rand32[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for Rand32

impl Send for Rand32

impl Sync for Rand32

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]