pub trait Enum: PartialOrd + Bounded {
    fn pred(&self) -> Option<Self>;
    fn succ(&self) -> Option<Self>;
}
Expand description

Type for which instances can be entirely enumerated.

Required Methods

Implementations on Foreign Types

Implementors