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

Method from

crates/css_lexer/src/token.rs:1239–1241  ·  view source on GitHub ↗
(token: Token)

Source from the content-addressed store, hash-verified

1237
1238impl From<Token> for Kind {
1239 fn from(token: Token) -> Self {
1240 token.kind()
1241 }
1242}
1243
1244impl PartialEq<Kind> for Token {

Callers

nothing calls this directly

Calls 3

quote_styleMethod · 0.80
whitespace_styleMethod · 0.80
kindMethod · 0.45

Tested by

no test coverage detected