MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / eq

Method eq

example/puzzles/src/lib.rs:48–51  ·  view source on GitHub ↗
(self: &Puzzle, other: &Puzzle)

Source from the content-addressed store, hash-verified

46
47impl PartialEq for Puzzle {
48 fn eq(self: &Puzzle, other: &Puzzle) -> bool {
49 (self.num_pieces == other.num_pieces)
50 && (self.name.to_lowercase() == other.name.to_lowercase())
51 }
52}
53
54impl From<&Puzzle> for String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected