Struct comonoid::Comonoidal [] [src]

pub struct Comonoidal<T>(_);

A newtype wrapper to make a comonoid out of any cloneable type.

Trait Implementations

impl<T> From<T> for Comonoidal<T>
[src]

Performs the conversion.

impl<T> AsRef<T> for Comonoidal<T>
[src]

Performs the conversion.

impl<T> AsMut<T> for Comonoidal<T>
[src]

Performs the conversion.

impl<T> Clone for Comonoidal<T> where
    T: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Comonoid for Comonoidal<T> where
    T: Clone
[src]

The dual to the monoidal unit.

The dual to the monoidal multiplication.