Increment

Trait Increment 

Source
pub trait Increment {
    type Output;

    // Required method
    fn inc(self) -> Self::Output;
}
Expand description

Required Associated Types§

Required Methods§

Source

fn inc(self) -> Self::Output

Implementors§

Source§

impl<T> Increment for T
where T: One + Add<Output = T>,