Trait pcw_fn::FunctorRef
source · pub trait FunctorRef<T>: Kind1To1 {
fn fmap_ref<S>(&self, f: impl FnMut(&T) -> S) -> Self::Constructor<S>;
}
Expand description
A trait for types that can be mapped over by reference.
pub trait FunctorRef<T>: Kind1To1 {
fn fmap_ref<S>(&self, f: impl FnMut(&T) -> S) -> Self::Constructor<S>;
}
A trait for types that can be mapped over by reference.