pub enum HirComparisonOperator {
Eq,
Ne,
Gt,
Ge,
Lt,
Le,
}
Expand description
Any supported comparison operator
Variants§
Implementations§
source§impl HirComparisonOperator
impl HirComparisonOperator
sourcepub fn get_raw_special_ident(&self) -> SpecialIdent
pub fn get_raw_special_ident(&self) -> SpecialIdent
Returns the associated [SpecialIdent
]
Trait Implementations§
source§impl Clone for HirComparisonOperator
impl Clone for HirComparisonOperator
source§fn clone(&self) -> HirComparisonOperator
fn clone(&self) -> HirComparisonOperator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HirComparisonOperator
impl Debug for HirComparisonOperator
source§impl PartialEq for HirComparisonOperator
impl PartialEq for HirComparisonOperator
source§fn eq(&self, other: &HirComparisonOperator) -> bool
fn eq(&self, other: &HirComparisonOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HirComparisonOperator
impl Eq for HirComparisonOperator
impl StructuralEq for HirComparisonOperator
impl StructuralPartialEq for HirComparisonOperator
Auto Trait Implementations§
impl RefUnwindSafe for HirComparisonOperator
impl Send for HirComparisonOperator
impl Sync for HirComparisonOperator
impl Unpin for HirComparisonOperator
impl UnwindSafe for HirComparisonOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.