MCPcopy Create free account
hub / github.com/csskit/csskit / fmt

Method fmt

crates/css_lexer/src/quote_style.rs:51–56  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

49
50impl fmt::Display for QuoteStyle {
51 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
52 if let Some(ch) = self.as_char() {
53 fmt::Display::fmt(&ch, f)?;
54 }
55 Ok(())
56 }
57}
58
59impl PartialEq<char> for QuoteStyle {

Callers

nothing calls this directly

Calls 1

as_charMethod · 0.80

Tested by

no test coverage detected