Trait method lrs::cmp::PartialOrd::partial_cmp

Attempts a comparison between the object and another one.

Syntax

fn partial_cmp(&self, other: &Rhs) -> Option<Ordering>

Arguments

NameDescription
other

The right-hand-side of the operation.

Return value

Returns the result of the comparison, if any.