Open exor2008 opened 10 months ago
Sadly that doesn't work as of now due to Rust's coherence rules. It ends up in a classy
type parameter `C` must be covered by another type when it appears before the first local type (`Vector3d<C>`)
I'm assuming the problem might be solvable when trait specialization / default impl
lands. Alternatively, one could specialize for the standard numeric types but in general, this simply cannot be implemented at the moment.
May be also element-wise multiplication and division for vectors.
Can do PR if needed