interface Equatable
pub interface Equatable
The operators == and !=: a == b is a.equals(b), != its negation.
Both sides are the conformer's own type: there is no heterogeneous equality.
Methods
fn equals(o: Self): bool
Returns whether this equals o.
Synthesized for a conformance without the member: field by field in declaration order; for an enum, the same variant with equal payloads.