Trait bolero_generator::bounded::BoundedValue

source ·
pub trait BoundedValue<B = Self>: 'static + Sized {
    // Required method
    fn gen_bounded<D: Driver>(
        driver: &mut D,
        min: Bound<&B>,
        max: Bound<&B>,
    ) -> Option<Self>;

    // Provided method
    fn mutate_bounded<D: Driver>(
        &mut self,
        driver: &mut D,
        min: Bound<&B>,
        max: Bound<&B>,
    ) -> Option<()> { ... }
}

Required Methods§

source

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&B>, max: Bound<&B>, ) -> Option<Self>

Provided Methods§

source

fn mutate_bounded<D: Driver>( &mut self, driver: &mut D, min: Bound<&B>, max: Bound<&B>, ) -> Option<()>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BoundedValue for char

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for f32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for f64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for i8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for i16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for i32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for i64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for i128

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for isize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for u8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for u16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for u32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for u64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for u128

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for usize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicI8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicI16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicI32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicI64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicIsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicU8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicU16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicU32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicU64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for AtomicUsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for Duration

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroI8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroI16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroI32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroI64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroI128

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroIsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroU8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroU16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroU32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroU64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroU128

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue for NonZeroUsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&Self>, max: Bound<&Self>, ) -> Option<Self>

source§

impl BoundedValue<i8> for AtomicI8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i8>, max: Bound<&i8>, ) -> Option<Self>

source§

impl BoundedValue<i8> for NonZeroI8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i8>, max: Bound<&i8>, ) -> Option<Self>

source§

impl BoundedValue<i16> for AtomicI16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i16>, max: Bound<&i16>, ) -> Option<Self>

source§

impl BoundedValue<i16> for NonZeroI16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i16>, max: Bound<&i16>, ) -> Option<Self>

source§

impl BoundedValue<i32> for AtomicI32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i32>, max: Bound<&i32>, ) -> Option<Self>

source§

impl BoundedValue<i32> for NonZeroI32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i32>, max: Bound<&i32>, ) -> Option<Self>

source§

impl BoundedValue<i64> for AtomicI64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i64>, max: Bound<&i64>, ) -> Option<Self>

source§

impl BoundedValue<i64> for NonZeroI64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i64>, max: Bound<&i64>, ) -> Option<Self>

source§

impl BoundedValue<i128> for NonZeroI128

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&i128>, max: Bound<&i128>, ) -> Option<Self>

source§

impl BoundedValue<isize> for AtomicIsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&isize>, max: Bound<&isize>, ) -> Option<Self>

source§

impl BoundedValue<isize> for NonZeroIsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&isize>, max: Bound<&isize>, ) -> Option<Self>

source§

impl BoundedValue<u8> for AtomicU8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u8>, max: Bound<&u8>, ) -> Option<Self>

source§

impl BoundedValue<u8> for NonZeroU8

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u8>, max: Bound<&u8>, ) -> Option<Self>

source§

impl BoundedValue<u16> for AtomicU16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u16>, max: Bound<&u16>, ) -> Option<Self>

source§

impl BoundedValue<u16> for NonZeroU16

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u16>, max: Bound<&u16>, ) -> Option<Self>

source§

impl BoundedValue<u32> for AtomicU32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u32>, max: Bound<&u32>, ) -> Option<Self>

source§

impl BoundedValue<u32> for NonZeroU32

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u32>, max: Bound<&u32>, ) -> Option<Self>

source§

impl BoundedValue<u64> for AtomicU64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u64>, max: Bound<&u64>, ) -> Option<Self>

source§

impl BoundedValue<u64> for NonZeroU64

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u64>, max: Bound<&u64>, ) -> Option<Self>

source§

impl BoundedValue<u128> for NonZeroU128

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&u128>, max: Bound<&u128>, ) -> Option<Self>

source§

impl BoundedValue<usize> for AtomicUsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&usize>, max: Bound<&usize>, ) -> Option<Self>

source§

impl BoundedValue<usize> for NonZeroUsize

source§

fn gen_bounded<D: Driver>( driver: &mut D, min: Bound<&usize>, max: Bound<&usize>, ) -> Option<Self>

Implementors§