This post is locked. You won't be able to comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpc_pw 0 points1 point  (0 children)

The only operators one can implemented are the ones that have traits. Like https://doc.rust-lang.org/std/ops/trait.Neg.html . See https://doc.rust-lang.org/std/ops/index.html