Various traits and methods to make generic mathematics in Rust more pleasant.