Trait succ::Succ
[−]
[src]
pub trait Succ { fn succ(self) -> Self; }
Trait to represent a succeedable type.
This trait is used to implement the succ
function.
Required Methods
fn succ(self) -> Self
Method which returns the logical successor (i.e. ++
) of self.