prop_check_rs::gen::choose

Trait Choose

Source
pub trait Choose
where Self: Sized,
{ // Required method fn choose(min: Self, max: Self) -> Gen<Self>; }

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Choose for char

Source§

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

Source§

impl Choose for f32

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 i8

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 i32

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 u8

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 u32

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 usize

Source§

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

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>

Implementors§