1
2
3
4
5
6
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub enum PermutationGeneratorError {
    TooManyElements,
    SliceTooSmall,
}
pub type PResult<T> = Result<T, PermutationGeneratorError>;