Trait soliterm_model::enums::EnumSequence
source · [−]pub trait EnumSequence: EnumArray<Self> {
type Iter: Iterator<Item = Self>;
fn first() -> Self;
fn last() -> Self;
fn next(self) -> Option<Self>;
fn previous(self) -> Option<Self>;
fn follows(self, other: Self) -> bool
where
Self: PartialEq<Self>;
fn precedes(self, other: Self) -> bool
where
Self: PartialEq<Self>;
fn values_iter() -> Self::Iter;
fn values_array() -> <Self as EnumArray<Self>>::Array;
}