pub struct StoreF<S>(/* private fields */);Expand description
Type constructor for the Store comonad: Of<T> = (Box<dyn Fn(S) -> T>, S).
Trait Implementations§
Source§impl<S> ComonadStore<S> for StoreF<S>where
S: Clone + 'static,
Available on crate features alloc or std only.
impl<S> ComonadStore<S> for StoreF<S>where
S: Clone + 'static,
Available on crate features
alloc or std only.Auto Trait Implementations§
impl<S> Freeze for StoreF<S>
impl<S> RefUnwindSafe for StoreF<S>where
S: RefUnwindSafe,
impl<S> Send for StoreF<S>where
S: Send,
impl<S> Sync for StoreF<S>where
S: Sync,
impl<S> Unpin for StoreF<S>where
S: Unpin,
impl<S> UnsafeUnpin for StoreF<S>
impl<S> UnwindSafe for StoreF<S>where
S: 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