Lyricdev
GitHub

interface TotalOrder

pub interface TotalOrder :: [Ordered]

Conforms to Ordered.

A total order, what sorting and keys need; float has none of its own.

Methods

fn totalCompare(o: Self): Ordering

Compares this with o in the total order.

Synthesized as compare is, every field compared totally.