Struct pushgen::generators::OptionGen [−][src]
pub struct OptionGen<T> { /* fields omitted */ }
Expand description
A generator over the value in Some
variant of an Option
.
The generator produces one value if the Option
is a Some
, otherwise none.
This struct
is created by the Option::into_gen
function.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for OptionGen<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for OptionGen<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more