[−][src]Struct bolero_generator::TypeValueGenerator
Non-parameterized ValueGenerator given a TypeGenerator
Implementations
impl<T: TypeGenerator + TypeGeneratorWithParams> TypeValueGenerator<T>
[src]
pub fn with(self) -> <T as TypeGeneratorWithParams>::Output
[src]
Trait Implementations
impl<T: Clone + TypeGenerator> Clone for TypeValueGenerator<T>
[src]
fn clone(&self) -> TypeValueGenerator<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + TypeGenerator> Copy for TypeValueGenerator<T>
[src]
impl<T: Debug + TypeGenerator> Debug for TypeValueGenerator<T>
[src]
impl<T: TypeGenerator> Default for TypeValueGenerator<T>
[src]
impl<T: TypeGenerator> ValueGenerator for TypeValueGenerator<T>
[src]
type Output = T
fn generate<D: Driver>(&self, driver: &mut D) -> Option<Self::Output>
[src]
fn mutate<D: Driver>(&self, driver: &mut D, value: &mut T) -> Option<()>
[src]
fn map<F: Fn(Self::Output) -> T, T>(self, map: F) -> MapGenerator<Self, F>
[src]
fn map_gen<F: Fn(Self::Output) -> T, T>(self, map: F) -> MapGenerator<Self, F>
[src]
fn and_then<F: Fn(Self::Output) -> T, T: ValueGenerator>(
self,
and_then: F
) -> AndThenGenerator<Self, F>
[src]
self,
and_then: F
) -> AndThenGenerator<Self, F>
fn and_then_gen<F: Fn(Self::Output) -> T, T: ValueGenerator>(
self,
and_then: F
) -> AndThenGenerator<Self, F>
[src]
self,
and_then: F
) -> AndThenGenerator<Self, F>
fn filter<F: Fn(&Self::Output) -> bool>(
self,
filter: F
) -> FilterGenerator<Self, F>
[src]
self,
filter: F
) -> FilterGenerator<Self, F>
fn filter_gen<F: Fn(&Self::Output) -> bool>(
self,
filter: F
) -> FilterGenerator<Self, F>
[src]
self,
filter: F
) -> FilterGenerator<Self, F>
fn filter_map<F: Fn(Self::Output) -> Option<T>, T>(
self,
filter_map: F
) -> FilterMapGenerator<Self, F>
[src]
self,
filter_map: F
) -> FilterMapGenerator<Self, F>
fn filter_map_gen<F: Fn(Self::Output) -> Option<T>, T>(
self,
filter_map: F
) -> FilterMapGenerator<Self, F>
[src]
self,
filter_map: F
) -> FilterMapGenerator<Self, F>
Auto Trait Implementations
impl<T> RefUnwindSafe for TypeValueGenerator<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TypeValueGenerator<T> where
T: Send,
T: Send,
impl<T> Sync for TypeValueGenerator<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TypeValueGenerator<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TypeValueGenerator<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,