#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Direction {
BottomUp,
TopDown,
}
impl Direction {
#[cfg(feature = "cli")]
pub(crate) const fn from_top_down(top_down: bool) -> Self {
if top_down {
Direction::TopDown
} else {
Direction::BottomUp
}
}
}