Struct dicetest::adapters::RcDie [−][src]
pub struct RcDie<'a, T> { /* fields omitted */ }Expand description
Adapter for Die::rc.
Implementations
Trait Implementations
Consumes the generator and generates a pseudorandom value. Read more
fn flat_map_once<U, DU, F>(self, f: F) -> FlatMapDie<T, U, Self, DU, F> where
Self: Sized,
DU: DieOnce<U>,
F: FnOnce(T) -> DU,
fn flat_map_once<U, DU, F>(self, f: F) -> FlatMapDie<T, U, Self, DU, F> where
Self: Sized,
DU: DieOnce<U>,
F: FnOnce(T) -> DU,
Puts self behind a Box pointer.
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for RcDie<'a, T>
impl<'a, T> !UnwindSafe for RcDie<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more