pub struct Cont<R: Clone, A: Clone> {
pub label: String,
/* private fields */
}Expand description
Continuation monad: Cont r a = (a -> r) -> r.
Fields§
§label: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, A> Freeze for Cont<R, A>
impl<R, A> RefUnwindSafe for Cont<R, A>where
R: RefUnwindSafe,
A: RefUnwindSafe,
impl<R, A> Send for Cont<R, A>
impl<R, A> Sync for Cont<R, A>
impl<R, A> Unpin for Cont<R, A>
impl<R, A> UnsafeUnpin for Cont<R, A>
impl<R, A> UnwindSafe for Cont<R, A>where
R: UnwindSafe,
A: 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