[][src]Struct eff::coproduct::Succ

pub struct Succ<T>(_);

A type corresponding to the next natural number of the argument

Trait Implementations

impl<E, F, Rest, Index> Inject<E, Succ<Index>> for Either<F, Rest> where
    E: Effect,
    F: Effect,
    Rest: Inject<E, Index>, 
[src]

impl<E, F, Rest, Index> Uninject<E, Succ<Index>> for Either<F, Rest> where
    E: Effect,
    F: Effect,
    Rest: Uninject<E, Index>, 
[src]

type Remainder = Either<F, <Rest as Uninject<E, Index>>::Remainder>

The other effect types of this coproduct

Auto Trait Implementations

impl<T> Send for Succ<T> where
    T: Send

impl<T> Sync for Succ<T> where
    T: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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