Ord in std::cmp - Rust (original) (raw)

std::cmp

Derive Macro Ord

1.38.0 ยท Source

#[derive(Ord)]

Expand description

Derive macro generating an impl of the trait Ord. The behavior of this macro is described in detail here.