Std.Order.equivalent
1 declaration
fn
equivalent: &T -> &T -> Bool where T: OrdThis is a callable function.
What it does
Whether two values are equivalent under the ordering.
Distinct from equality: an ordering may call two values equivalent that a
type's own equality separates, which is why sorting is stable rather than
deduplicating.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
