Trait aurum_numeric::Inc
[−]
[src]
pub trait Inc: Sized { fn inc(self) -> Self; }
Trait for types which may be incremented.
It is not specified whether this operation is checked. For machine integers, this simply results
in n + 1
, which may panic when overflowing on a debug build.