How to write one single From trait implementation for custom struct

I have both a simple Vector struct and a Matrix struct for which I have multiple From traits implemented. However, I am wondering whether (specifically for the Matrix struct) I can write one single From trait that covers all my requirements.

All details can be found here: Code shared from the Rust Playground · GitHub