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

Method fmt

src/lib.rs:264–275  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

262
263impl fmt::Display for Hovered {
264 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
265 write!(
266 f,
267 "{}",
268 match self {
269 Hovered::Header => "Header",
270 Hovered::Item(name) => name,
271 Hovered::List => "List container",
272 Hovered::None => "Nothing",
273 }
274 )
275 }
276}
277
278fn to_option(value: bool) -> Option<&'static str> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected