(&self)
| 15 | |
| 16 | impl ToString for Corner { |
| 17 | fn to_string(&self) -> String { |
| 18 | use Corner::*; |
| 19 | match self { |
| 20 | TopLeft => "TOP_LEFT", |
| 21 | TopRight => "TOP_RIGHT", |
| 22 | BottomLeft => "BOTTOM_LEFT", |
| 23 | BottomRight => "BOTTOM_RIGHT", |
| 24 | TopStart => "TOP_START", |
| 25 | TopEnd => "TOP_END ", |
| 26 | BottomStart => "BOTTOM_START", |
| 27 | BottomEnd => "BOTTOM_END", |
| 28 | } |
| 29 | .to_string() |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /// The `MenuCorner` type |
nothing calls this directly
no outgoing calls
no test coverage detected