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

Method from

crates/css_lexer/src/cursor.rs:106–108  ·  view source on GitHub ↗
(cursor: Cursor)

Source from the content-addressed store, hash-verified

104
105impl From<Cursor> for Token {
106 fn from(cursor: Cursor) -> Self {
107 cursor.token()
108 }
109}
110
111impl PartialEq<Token> for Cursor {

Callers

nothing calls this directly

Calls 3

tokenMethod · 0.45
spanMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected