Returns true iff `a + b + c = (a + b) + c`
(&self)
| 1044 | impl Associativity { |
| 1045 | /// Returns true iff `a + b + c = (a + b) + c` |
| 1046 | fn left_associative(&self) -> bool { |
| 1047 | matches!(self, Associativity::Left | Associativity::Both) |
| 1048 | } |
| 1049 | |
| 1050 | /// Returns true iff `a + b + c = a + (b + c)` |
| 1051 | fn right_associative(&self) -> bool { |