MCPcopy Create free account
hub / github.com/angular-rust/yew-components / to_string

Method to_string

src/menu/models.rs:17–30  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

15
16impl 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected