pub enum TCO<REC, RET> {
Rec(REC),
Ret(RET),
}Expand description
A helper for TCO
Variants§
Auto Trait Implementations§
impl<REC, RET> Freeze for TCO<REC, RET>
impl<REC, RET> RefUnwindSafe for TCO<REC, RET>where
REC: RefUnwindSafe,
RET: RefUnwindSafe,
impl<REC, RET> Send for TCO<REC, RET>
impl<REC, RET> Sync for TCO<REC, RET>
impl<REC, RET> Unpin for TCO<REC, RET>
impl<REC, RET> UnwindSafe for TCO<REC, RET>where
REC: UnwindSafe,
RET: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more