Enum rustemo_compiler::grammar::Associativity
source · pub enum Associativity {
None,
Left,
Right,
}
Variants§
Trait Implementations§
source§impl Debug for Associativity
impl Debug for Associativity
source§impl Default for Associativity
impl Default for Associativity
source§fn default() -> Associativity
fn default() -> Associativity
Returns the “default value” for a type. Read more
source§impl PartialEq for Associativity
impl PartialEq for Associativity
source§fn eq(&self, other: &Associativity) -> bool
fn eq(&self, other: &Associativity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Associativity
impl StructuralEq for Associativity
impl StructuralPartialEq for Associativity
Auto Trait Implementations§
impl RefUnwindSafe for Associativity
impl Send for Associativity
impl Sync for Associativity
impl Unpin for Associativity
impl UnwindSafe for Associativity
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.