Struct combine_language::Assoc [−][src]
Struct for encompassing the associativity of an operator
Fields
fixity: Fixity
Operator fixity
precedence: i32
Operator precedence
Trait Implementations
impl Copy for Assoc[src]
impl Copy for Associmpl Clone for Assoc[src]
impl Clone for Assocfn clone(&self) -> Assoc[src]
fn clone(&self) -> AssocReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Eq for Assoc[src]
impl Eq for Associmpl PartialEq for Assoc[src]
impl PartialEq for Assocfn eq(&self, other: &Assoc) -> bool[src]
fn eq(&self, other: &Assoc) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Assoc) -> bool[src]
fn ne(&self, other: &Assoc) -> boolThis method tests for !=.
impl Ord for Assoc[src]
impl Ord for Assocfn cmp(&self, other: &Assoc) -> Ordering[src]
fn cmp(&self, other: &Assoc) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialOrd for Assoc[src]
impl PartialOrd for Assocfn partial_cmp(&self, other: &Assoc) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Assoc) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Assoc) -> bool[src]
fn lt(&self, other: &Assoc) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Assoc) -> bool[src]
fn le(&self, other: &Assoc) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Assoc) -> bool[src]
fn gt(&self, other: &Assoc) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Assoc) -> bool[src]
fn ge(&self, other: &Assoc) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for Assoc[src]
impl Debug for Assoc