use core::fmt::{self, Display};
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum Goal {
Max,
Min,
}
impl Display for Goal {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Self::Max => write!(f, "↑"),
Self::Min => write!(f, "↓"),
}
}
}