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

Method eq

crates/css_lexer/src/quote_style.rs:60–62  ·  view source on GitHub ↗
(&self, other: &char)

Source from the content-addressed store, hash-verified

58
59impl PartialEq<char> for QuoteStyle {
60 fn eq(&self, other: &char) -> bool {
61 self.as_char().map(|char| char == *other).unwrap_or(false)
62 }
63}
64
65#[test]

Callers

nothing calls this directly

Calls 1

as_charMethod · 0.80

Tested by

no test coverage detected