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

Type for which instances can be partially enumerated.

Required Methods

Implementations on Foreign Types

Implementors