[−][src]Struct smoke::generator::Array31
A generator of array of size $N where elements are defined by a generator
$C (g) is effectively the same as the following generator: Vector(Constant($N), g)
Implementations
impl<G: Generator> Array31<G>
[src]
Trait Implementations
impl<G: Clone> Clone for Array31<G>
[src]
impl<T, G> Generator for Array31<G> where
G: Generator<Item = T>,
[src]
G: Generator<Item = T>,
type Item = [T; 31]
Type generated by the generator
fn gen<'a>(&self, r: &mut R) -> Self::Item
[src]
fn map<O, F>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: Fn(Self::Item) -> O,
[src]
Self: Sized,
F: Fn(Self::Item) -> O,
fn such_that<F>(self, f: F) -> SuchThat<Self, F> where
Self: Sized,
F: Fn(Self::Item) -> bool + Clone,
[src]
Self: Sized,
F: Fn(Self::Item) -> bool + Clone,
fn and<G>(self, other: G) -> And<Self, G> where
Self: Sized,
[src]
Self: Sized,
fn or<G>(self, other: G) -> Or<Self, G> where
Self: Sized,
G: Generator<Item = Self::Item>,
[src]
Self: Sized,
G: Generator<Item = Self::Item>,
fn into_boxed(self) -> BoxGenerator<Self::Item> where
Self: Sized + 'static,
[src]
Self: Sized + 'static,
Auto Trait Implementations
impl<G> RefUnwindSafe for Array31<G> where
G: RefUnwindSafe,
G: RefUnwindSafe,
impl<G> Send for Array31<G> where
G: Send,
G: Send,
impl<G> Sync for Array31<G> where
G: Sync,
G: Sync,
impl<G> Unpin for Array31<G> where
G: Unpin,
G: Unpin,
impl<G> UnwindSafe for Array31<G> where
G: UnwindSafe,
G: 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>,