Function syntax::ast_util::is_symmetric_binopUnstable
[-] [+]
[src]
pub fn is_symmetric_binop(b: BinOp_) -> bool
Returns true
if the binary operator is symmetric in the sense that LHS
and RHS must have the same type. So the type of LHS can serve as an hint
for the type of RHS and vice versa.