DynGeneratable

Type Alias DynGeneratable 

Source
pub type DynGeneratable<T> = Box<dyn Generatable<T>>;
Expand description

A type alias for Box<dyn Generatable<T>>.

Aliased Type§

pub struct DynGeneratable<T>(/* private fields */);

Trait Implementations§

Source§

impl<T> Generatable<T> for DynGeneratable<T>

Source§

fn try_next(&mut self) -> Option<Completable<T>>

Try to advance the generator and return the next item. Read more
Source§

fn dyn_generatable(self) -> DynGeneratable<T>
where Self: Sized + 'static,

Utility method to convert this Generatable to a dynamic type.