[][src]Struct tiny_rng::Rng

pub struct Rng { /* fields omitted */ }

Trait Implementations

impl Rand for Rng[src]

fn rand_u8(&mut self) -> u8[src]

fn rand_u16(&mut self) -> u16[src]

fn rand_u64(&mut self) -> u64[src]

fn rand_usize(&mut self) -> usize[src]

fn rand_bounded_u32(&mut self, m: u32) -> u32[src]

fn rand_bounded_u64(&mut self, m: u64) -> u64[src]

fn rand_bounded_usize(&mut self, m: usize) -> usize[src]

fn rand_range_u32(&mut self, a: u32, b: u32) -> u32[src]

fn rand_range_u64(&mut self, a: u64, b: u64) -> u64[src]

fn rand_range_i32(&mut self, a: i32, b: i32) -> i32[src]

fn rand_range_i64(&mut self, a: i64, b: i64) -> i64[src]

fn rand_f32(&mut self) -> f32[src]

fn rand_f64(&mut self) -> f64[src]

fn shuffle<T>(&mut self, a: &mut [T])[src]

Auto Trait Implementations

impl Send for Rng

impl Sync for Rng

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]