repose_material/
symbol.rs1#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
2pub struct Symbol {
3 pub name: &'static str,
4 pub codepoint: char,
5}
6
7impl Symbol {
8 pub const fn new(name: &'static str, codepoint: char) -> Self {
9 Self { name, codepoint }
10 }
11}