Resolving trait implementation conflicts
I'm trying to write some generic math functions in Rust and I keep running into the following error message: error: conflicting implementations for trait SoAndSo Is it possible to solve the problem? If so, how? For example, I'm trying to write a generic dot product that takes two iterators, zips them and iterates over the pairs to accumulate the products. I want this function also to be able to compute complex-valued dot products. The dot product over complex numbers involves conjugating one side. My first idea was to write a trait Dot1 for a binary function to replace Mul in that it also