Trait tailrec::TailRec [] [src]

pub trait TailRec<Output, F> {
    fn rec(self, iterate: F) -> Output
    where
        Self: Sized,
        F: Fn(Self) -> Result<Output, Self>
, { ... } fn rec_ref<'a>(&'a self, iterate: F) -> Output
    where
        F: for<'r> Fn(&'r Self) -> Result<Output, &'r Self>
, { ... } fn rec_mut(self, iterate: F) -> Output
    where
        Self: Sized,
        F: FnMut(Self) -> Result<Output, Self>
, { ... } fn rec_ref_mut<'a>(&'a mut self, iterate: F) -> Output
    where
        F: for<'r> FnMut(&'r mut Self) -> Result<Output, &'r mut Self>
, { ... } }

Provided Methods

Implementors