#[derive(Clone, Copy, Hash, PartialEq, Eq)]
pub enum Side {
Left,
Right,
Both,
}
impl std::fmt::Display for Side {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
Self::Left => "l",
Self::Right => "r",
Self::Both => "",
};
write!(f, "{s}")
}
}