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

Method eq

crates/css_lexer/src/token.rs:1245–1247  ·  view source on GitHub ↗
(&self, other: &Kind)

Source from the content-addressed store, hash-verified

1243
1244impl PartialEq<Kind> for Token {
1245 fn eq(&self, other: &Kind) -> bool {
1246 self.kind() == *other
1247 }
1248}
1249
1250impl From<Token> for KindSet {

Callers

nothing calls this directly

Calls 8

quote_styleMethod · 0.80
whitespace_styleMethod · 0.80
associated_whitespaceMethod · 0.80
comment_styleMethod · 0.80
to_pairwiseMethod · 0.80
charMethod · 0.80
kindMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected