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) -> &T
impl<T> AsMut<T> for Comonoidal<T>
fn as_mut(&mut self) -> &mut T
impl<T> Clone for Comonoidal<T> where T: Clone
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
impl<T> Comonoid for Comonoidal<T> where T: Clone
fn 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
).