[−][src]Struct bolero_generator::alloc_generators::BinaryHeapGenerator
Implementations
impl<V: ValueGenerator, L> BinaryHeapGenerator<V, L>
[src]
pub fn values<Gen: ValueGenerator<Output = V::Output>>(
self,
values: Gen
) -> BinaryHeapGenerator<Gen, L>
[src]
self,
values: Gen
) -> BinaryHeapGenerator<Gen, L>
pub fn map_values<Gen: ValueGenerator<Output = V::Output>, F: Fn(V) -> Gen>(
self,
map: F
) -> BinaryHeapGenerator<Gen, L>
[src]
self,
map: F
) -> BinaryHeapGenerator<Gen, L>
pub fn len<Gen: ValueGenerator<Output = Len>, Len: Into<usize>>(
self,
len: Gen
) -> BinaryHeapGenerator<V, Gen>
[src]
self,
len: Gen
) -> BinaryHeapGenerator<V, Gen>
pub fn map_len<Gen: ValueGenerator<Output = Len>, F: Fn(L) -> Gen, Len: Into<usize>>(
self,
map: F
) -> BinaryHeapGenerator<V, Gen>
[src]
self,
map: F
) -> BinaryHeapGenerator<V, Gen>
Trait Implementations
impl<V: ValueGenerator, L: ValueGenerator<Output = Len>, Len: Into<usize>> ValueGenerator for BinaryHeapGenerator<V, L> where
V::Output: Sized + Ord,
[src]
V::Output: Sized + Ord,
type Output = BinaryHeap<V::Output>
fn generate<D: Driver>(&self, driver: &mut D) -> Option<Self::Output>
[src]
fn mutate<D: Driver>(
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
[src]
&self,
driver: &mut D,
value: &mut Self::Output
) -> Option<()>
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<V, L> RefUnwindSafe for BinaryHeapGenerator<V, L> where
L: RefUnwindSafe,
V: RefUnwindSafe,
L: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, L> Send for BinaryHeapGenerator<V, L> where
L: Send,
V: Send,
L: Send,
V: Send,
impl<V, L> Sync for BinaryHeapGenerator<V, L> where
L: Sync,
V: Sync,
L: Sync,
V: Sync,
impl<V, L> Unpin for BinaryHeapGenerator<V, L> where
L: Unpin,
V: Unpin,
L: Unpin,
V: Unpin,
impl<V, L> UnwindSafe for BinaryHeapGenerator<V, L> where
L: UnwindSafe,
V: UnwindSafe,
L: UnwindSafe,
V: 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, 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>,