pub trait Choosewhere
    Self: Sized,
{ fn choose(min: Self, max: Self) -> Gen<Self>; }

Required Methods§

source

fn choose(min: Self, max: Self) -> Gen<Self>

Implementations on Foreign Types§

source§

impl<A> Choose for Option<A>where
    A: Choose + Clone + 'static,

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl<A, B> Choose for Result<A, B>where
    A: Choose + Clone + 'static,
    B: Clone + 'static,

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for usize

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for i64

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for u64

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for i32

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for u32

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for i16

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for u16

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for i8

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for u8

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for char

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for f64

source§

fn choose(min: Self, max: Self) -> Gen<Self>

source§

impl Choose for f32

source§

fn choose(min: Self, max: Self) -> Gen<Self>

Implementors§