Can anyone explain why this impl is not allowed? I am trying to make it so I can call functions on my arrays and not have to iterate over it to call functions on the elements of the array.
Coherence (only having one implementation of any given method). If you could implement inherent methods for primitive types, so could I, and then our crates could not compose without violating coherence.
Put the methods you want in a custom trait (that's what the error was suggesting).