pub fn operator_method(symbol: &str) -> Option<(&'static str, OperatorForm)>Expand description
The method an operator symbol resolves to on a type that defines one, and the form the call takes.
!=, > and >= have no method of their own: they are derived from ==,
< and <=, so a type defines three comparisons and gets six operators.
&&, ||, ! and assignment are not overloadable and answer None.