Enum tramp::BorrowRec[][src]

pub enum BorrowRec<'a, T> {
    Ret(T),
    Call(Thunk<'a, BorrowRec<'a, T>>),
}

A single borrowed recursive-function result.

Variants

This variant is returned when the function is done; i.e. this the result of the computation.

This variant is returned when the function is about to call itself or another in a tail position (i.e. there is no job after the call), generally indicates recursion.

Trait Implementations

impl<'a, T: Debug> Debug for BorrowRec<'a, T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, T> !Send for BorrowRec<'a, T>

impl<'a, T> !Sync for BorrowRec<'a, T>