[][src]Struct ogma::module::Cons

pub struct Cons<H, T> { /* fields omitted */ }

A Type which represents two types H and T

Trait Implementations

impl<'a, H, T, C> ModuleType<'a, C> for Cons<H, T> where
    H: 'a + Match<'a, C> + Callable,
    T: ModuleType<'a, C, Error = MatchError>,
    <T as ModuleType<'a, C>>::Error: Into<MatchError>, 
[src]

type Error = MatchError

Auto Trait Implementations

impl<H, T> RefUnwindSafe for Cons<H, T> where
    H: RefUnwindSafe,
    T: RefUnwindSafe

impl<H, T> Send for Cons<H, T> where
    H: Send,
    T: Send

impl<H, T> Sync for Cons<H, T> where
    H: Sync,
    T: Sync

impl<H, T> Unpin for Cons<H, T> where
    H: Unpin,
    T: Unpin

impl<H, T> UnwindSafe for Cons<H, T> where
    H: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.