I am trying to implement vector multiplication elementwise and by a scalar, so I wrote four implementations, two that take owned values and two that took borrowed values for each elementwise and scalar multiplication. offending code in pastebin (lines 40 and 51 are the bad implementations)
The problem above also happens when I try to implement for Div.
the exact error is:
error[E0119]: conflicting implementations of trait
std::ops::Mul<&vector::Vector<_>> for type