Trait gaps::Inc

source · []
pub trait Inc {
    fn inc(self) -> Self;
}
Expand description

A trait representing the capability to increment a value.

Required methods

Increment self and return the new value.

Implementations on Foreign Types

Implementors