pub struct ThunkApp<A: Clone> {
pub val: A,
}Expand description
Applicative functor over thunks.
Fields§
§val: AImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for ThunkApp<A>where
A: Freeze,
impl<A> RefUnwindSafe for ThunkApp<A>where
A: RefUnwindSafe,
impl<A> Send for ThunkApp<A>where
A: Send,
impl<A> Sync for ThunkApp<A>where
A: Sync,
impl<A> Unpin for ThunkApp<A>where
A: Unpin,
impl<A> UnsafeUnpin for ThunkApp<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ThunkApp<A>where
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