Trait Increment

Source
pub trait Increment {
    type Output;

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

Represents C++’s prefix increment (++a).

Required Associated Types§

Source

type Output

Output type.

Required Methods§

Source

fn inc(self) -> Self::Output

Increment self.

Implementors§