4 ms·
True, that does work for traits. But it's super annoying if you have to write multiple copies of the same thing. That can get out of control quick if you need t
by forrestthewoods 4y ago
True, that does work for traits. But it's super annoying if you have to write multiple copies of the same thing. That can get out of control quick if you need to implement every combination.
And that doesn't help at all if you're writing a "free function" like 3D primitive intersection functions. I suppose you could change that simple function into a generic function that takes AsDeref? Bleh.