RustOperators and Overloading


Introduction

Most operators in Rust can be defined ("overloaded") for user-defined types. This can be achieved by implementing the respective trait in std::ops module.