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

Method eq

crates/css_lexer/src/cursor.rs:112–114  ·  view source on GitHub ↗
(&self, other: &Token)

Source from the content-addressed store, hash-verified

110
111impl PartialEq<Token> for Cursor {
112 fn eq(&self, other: &Token) -> bool {
113 self.1 == *other
114 }
115}
116
117impl ToSpan for Cursor {

Callers

nothing calls this directly

Calls 1

spanMethod · 0.45

Tested by

no test coverage detected