1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use std::fmt::Display;

pub mod contiguous_list;
pub mod higher_order;
pub mod multiset_equality;
pub mod range;
pub mod safe_u32;
pub mod unsafe_u32;

#[derive(Clone, Debug)]
pub enum ListType {
    Safe,
    Unsafe,
}

impl Display for ListType {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            ListType::Safe => write!(f, "safe"),
            ListType::Unsafe => write!(f, "unsafe"),
        }
    }
}