pub trait RandomRange {
    // Required method
    fn gen_range(low: Self, high: Self) -> Self;
}

Required Methods§

source

fn gen_range(low: Self, high: Self) -> Self

Implementations on Foreign Types§

source§

impl RandomRange for i16

source§

fn gen_range(low: i16, high: i16) -> Self

source§

impl RandomRange for u8

source§

fn gen_range(low: Self, high: Self) -> Self

source§

impl RandomRange for u32

source§

fn gen_range(low: u32, high: u32) -> Self

source§

impl RandomRange for usize

source§

fn gen_range(low: usize, high: usize) -> Self

source§

impl RandomRange for f32

source§

fn gen_range(low: Self, high: Self) -> Self

source§

impl RandomRange for f64

source§

fn gen_range(low: Self, high: Self) -> Self

source§

impl RandomRange for u64

source§

fn gen_range(low: u64, high: u64) -> Self

source§

impl RandomRange for i64

source§

fn gen_range(low: Self, high: Self) -> Self

source§

impl RandomRange for i32

source§

fn gen_range(low: i32, high: i32) -> Self

Implementors§