create_enum! {
#[derive(Clone, Copy, Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
pub enum WindowBits<u8> {
Eight = (8),
Nine = (9),
Ten = (10),
#[default]
Eleven = (11),
Twelve = (12),
Thirteen = (13),
Fourteen = (14),
Fifteen = (15),
}
}
impl WindowBits {
pub const MIN: Self = Self::Eight;
pub const MAX: Self = Self::Fifteen;
}