Function tramp::tramp [−][src]
pub fn tramp<'a, T>(res: BorrowRec<'a, T>) -> T
Given an input which of type BorrowRec
, this function performs
a trampoline over the value. While Rec::Call(thunk)
is returned,
this function will keep evauating thunk
. Whenever Rec::Done(x)
is
found, x
is returned.