Mint 0.5.8 added a new trait called IntoMint, which lets you specify the mint type that another type is associated with. That way you can convert a type into its mint representation without having to specify the mint type.
I implemented IntoMint for Vectors, Points, Matrices, and Quaternions.
I didn't implement IntoMint for Euler angles, because I couldn't figure out which mint type they should correspond to.
Mint 0.5.8 added a new trait called IntoMint, which lets you specify the mint type that another type is associated with. That way you can convert a type into its mint representation without having to specify the mint type.
I implemented IntoMint for Vectors, Points, Matrices, and Quaternions.
I didn't implement IntoMint for Euler angles, because I couldn't figure out which mint type they should correspond to.