(self)
| 399 | |
| 400 | impl Symbol { |
| 401 | const fn to_str_utf8(self) -> &'static str { |
| 402 | match self { |
| 403 | Self::Vertical => "\u{2502}", // │ |
| 404 | Self::VerticalRight => "\u{251c}", // ├ |
| 405 | Self::Horizontal => "\u{2500}", // ─ |
| 406 | Self::HorizontalLeft => "\u{2574}", // ╴ |
| 407 | Self::HorizontalDown => "\u{252c}", // ┬ |
| 408 | Self::ArrowRight => "\u{25b6}", // ▶ |
| 409 | Self::CurveRight => "\u{2570}", // ╰ |
| 410 | Self::Space => " ", |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | const fn to_str_ascii(self) -> &'static str { |
| 415 | match self { |