Take a look at the trait bounds here, that might help.
In any case, just requiring Copy
is probably a lot easier for numeric types than fiddling with reference types.
Take a look at the trait bounds here, that might help.
In any case, just requiring Copy
is probably a lot easier for numeric types than fiddling with reference types.