Struct comonoid::Comonoidal
[−]
[src]
pub struct Comonoidal<T>(_);
A newtype wrapper to make a comonoid out of any cloneable type.
pub struct Comonoidal<T>(_);
A newtype wrapper to make a comonoid out of any cloneable type.
impl<T> From<T> for Comonoidal<T>fn from(a: T) -> Comonoidal<T>impl<T> AsRef<T> for Comonoidal<T>fn as_ref(&self) -> &Timpl<T> AsMut<T> for Comonoidal<T>fn as_mut(&mut self) -> &mut Timpl<T> Clone for Comonoidal<T> where T: Clonefn clone(&self) -> Selffn clone_from(&mut self, source: &Self)impl<T> Comonoid for Comonoidal<T> where T: Clonefn counit(self)fn comult(self) -> (Self, Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).