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