[][src]Struct bolero_generator::alloc_generators::string::StringGenerator

pub struct StringGenerator<C, L> { /* fields omitted */ }

Implementations

impl<C, L> StringGenerator<C, L>[src]

pub fn chars<Gen: ValueGenerator<Output = char>>(
    self,
    chars: Gen
) -> StringGenerator<Gen, L>
[src]

pub fn map_chars<Gen: ValueGenerator<Output = char>, F: Fn(C) -> Gen>(
    self,
    map: F
) -> StringGenerator<Gen, L>
[src]

pub fn len<Gen: ValueGenerator<Output = Len>, Len: Into<usize>>(
    self,
    len: Gen
) -> StringGenerator<C, Gen>
[src]

pub fn map_len<Gen: ValueGenerator<Output = Len>, F: Fn(L) -> Gen, Len: Into<usize>>(
    self,
    map: F
) -> StringGenerator<C, Gen>
[src]

Trait Implementations

impl<G: ValueGenerator<Output = char>, L: ValueGenerator<Output = Len>, Len: Into<usize>> ValueGenerator for StringGenerator<G, L>[src]

type Output = String

Auto Trait Implementations

impl<C, L> RefUnwindSafe for StringGenerator<C, L> where
    C: RefUnwindSafe,
    L: RefUnwindSafe

impl<C, L> Send for StringGenerator<C, L> where
    C: Send,
    L: Send

impl<C, L> Sync for StringGenerator<C, L> where
    C: Sync,
    L: Sync

impl<C, L> Unpin for StringGenerator<C, L> where
    C: Unpin,
    L: Unpin

impl<C, L> UnwindSafe for StringGenerator<C, L> where
    C: UnwindSafe,
    L: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.