Enum nalgebra::PartialOrdering [] [src]

pub enum PartialOrdering {
    PartialLess,
    PartialEqual,
    PartialGreater,
    NotComparable,
}

Result of a partial ordering.

Variants

Result of a strict comparison.

Equality relationship.

Result of a strict comparison.

Result of a comparison between two objects that are not comparable.

Methods

impl PartialOrdering
[src]

Returns true if self is equal to Equal.

Returns true if self is equal to Less.

Returns true if self is equal to Less or Equal.

Returns true if self is equal to Greater.

Returns true if self is equal to Greater or Equal.

Returns true if self is equal to NotComparable.

Creates a PartialOrdering from an Ordering.

Converts this PartialOrdering to an Ordering.

Returns None if self is NotComparable.

Trait Implementations

impl Copy for PartialOrdering
[src]

impl Debug for PartialOrdering
[src]

Formats the value using the given formatter.

impl Clone for PartialOrdering
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for PartialOrdering
[src]

impl Encodable for PartialOrdering
[src]

impl PartialEq for PartialOrdering
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PartialOrdering
[src]