color_char/character/
arith.rs

1use crate::Character;
2
3impl PartialEq<char> for Character {
4    fn eq(&self, other: &char) -> bool {
5        self.get_char() == *other
6    }
7}
8
9// impl PartialEq<Character> for char {
10//     fn eq(&self, other: &Character) -> bool {
11//         *self == other.get_char()
12//     }
13// }