Trait radn::func::controlflow::Iterative
source · pub trait Iterative<'a>: 'a + Send + Sized {
type B: 'a + Send;
type T: ?Sized + WeakFunctor<'a>;
// Required method
fn next(self) -> IterativeWrapped<'a, Self>;
}Expand description
Value passed to Monad::iterate.
Required Associated Types§
sourcetype T: ?Sized + WeakFunctor<'a>
type T: ?Sized + WeakFunctor<'a>
Corresponding WeakFunctor.
Required Methods§
sourcefn next(self) -> IterativeWrapped<'a, Self>
fn next(self) -> IterativeWrapped<'a, Self>
Get next state.