MCPcopy Create free account
hub / github.com/astral-sh/ruff / cmp

Method cmp

crates/ruff_python_ast/src/node_index.rs:207–209  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

205
206impl Ord for AtomicNodeIndex {
207 fn cmp(&self, other: &Self) -> std::cmp::Ordering {
208 self.load().cmp(&other.load())
209 }
210}
211
212impl Eq for AtomicNodeIndex {}

Callers 9

update_max_precedenceMethod · 0.45
partial_cmpMethod · 0.45
chooseMethod · 0.45
partial_cmpMethod · 0.45
try_compareMethod · 0.45
finishMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected