pub type DynGenAlgorithm<CONTEXT, STATE, ITEM> = Box<dyn GenAlgorithm<CONTEXT, STATE, ITEM>>;Expand description
A type alias for Box<dyn GenAlgorithm<CONTEXT, STATE, OUTPUT>>.
Aliased Type§
pub struct DynGenAlgorithm<CONTEXT, STATE, ITEM>(/* private fields */);Trait Implementations§
Source§impl<CONTEXT, STATE, OUTPUT> Generatable<OUTPUT> for DynGenAlgorithm<CONTEXT, STATE, OUTPUT>
impl<CONTEXT, STATE, OUTPUT> Generatable<OUTPUT> for DynGenAlgorithm<CONTEXT, STATE, OUTPUT>
Source§fn try_next(&mut self) -> Option<Completable<OUTPUT>>
fn try_next(&mut self) -> Option<Completable<OUTPUT>>
Try to advance the generator and return the next item. Read more
Source§fn dyn_generatable(self) -> DynGeneratable<T>where
Self: Sized + 'static,
fn dyn_generatable(self) -> DynGeneratable<T>where
Self: Sized + 'static,
Utility method to convert this
Generatable to a dynamic type.