Enum debris_common::ident::SpecialIdent
source · pub enum SpecialIdent {
Show 17 variants
Add,
Sub,
Mul,
Div,
Mod,
UnaryMinus,
And,
Or,
Not,
CmpEq,
CmpNe,
CmpGt,
CmpGe,
CmpLt,
CmpLe,
Dot,
Promote,
}
Expand description
Every special identifier
Variants§
Trait Implementations§
source§impl Clone for SpecialIdent
impl Clone for SpecialIdent
source§fn clone(&self) -> SpecialIdent
fn clone(&self) -> SpecialIdent
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 SpecialIdent
impl Debug for SpecialIdent
source§impl Display for SpecialIdent
impl Display for SpecialIdent
source§impl From<SpecialIdent> for Ident
impl From<SpecialIdent> for Ident
source§fn from(special: SpecialIdent) -> Self
fn from(special: SpecialIdent) -> Self
Converts to this type from the input type.
source§impl Hash for SpecialIdent
impl Hash for SpecialIdent
source§impl PartialEq for SpecialIdent
impl PartialEq for SpecialIdent
source§fn eq(&self, other: &SpecialIdent) -> bool
fn eq(&self, other: &SpecialIdent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpecialIdent
impl StructuralEq for SpecialIdent
impl StructuralPartialEq for SpecialIdent
Auto Trait Implementations§
impl RefUnwindSafe for SpecialIdent
impl Send for SpecialIdent
impl Sync for SpecialIdent
impl Unpin for SpecialIdent
impl UnwindSafe for SpecialIdent
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.