Struct peano::Succ [] [src]

pub struct Succ<N: Natural>(_);

Trait Implementations

impl<N: Clone + Natural> Clone for Succ<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Copy + Natural> Copy for Succ<N>
[src]

impl<N: Natural> Natural for Succ<N>
[src]

impl<M: Natural, N: Natural> Add<N> for Succ<M> where
    M: Add<N>,
    <M as Add<N>>::Output: Natural
[src]

The resulting type after applying the + operator

The method for the + operator