pub trait Incrementable {
// Required method
fn incr(&self) -> Self;
}Expand description
Value that is able to be incremented by 1.
Required Methods§
Object Safety§
This trait is not object safe.
pub trait Incrementable {
// Required method
fn incr(&self) -> Self;
}Value that is able to be incremented by 1.