Trait range_traits::PartialEnum
source · pub trait PartialEnum: Sized + PartialOrd {
// Required methods
fn pred(&self) -> Option<Self>;
fn succ(&self) -> Option<Self>;
}Expand description
Type for which instances can be partially enumerated.