Enum clippy_lints::utils::comparisons::Rel
[−]
[src]
pub enum Rel { Lt, Le, Eq, Ne, }
Represent a normalized comparison operator.
Variants
Lt
<
Le
<=
Eq
==
Ne
!=
Trait Implementations
impl PartialEq for Rel
[src]
fn eq(&self, __arg_0: &Rel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Rel
[src]
impl Debug for Rel
[src]
impl Copy for Rel
[src]
impl Clone for Rel
[src]
fn clone(&self) -> Rel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more