Enum clippy_lints::utils::comparisons::Rel [] [src]

pub enum Rel {
    Lt,
    Le,
    Eq,
    Ne,
}

Represent a normalized comparison operator.

Variants

<

<=

==

!=

Trait Implementations

impl PartialEq for Rel
[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 Rel
[src]

impl Debug for Rel
[src]

Formats the value using the given formatter.

impl Copy for Rel
[src]

impl Clone for Rel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more