Returns the state as a single character for compact display.
(&self)
| 82 | |
| 83 | /// Returns the state as a single character for compact display. |
| 84 | pub fn as_char(&self) -> char { |
| 85 | match self { |
| 86 | LeafState::Alive => 'A', |
| 87 | LeafState::Deleted => 'D', |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | impl fmt::Display for LeafState { |
nothing calls this directly
no outgoing calls
no test coverage detected