1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use { crate::Construct, std::ops::Mul }; pub mod matrix3; pub mod matrix4; pub mod vector3; pub mod vector4; pub trait Vector<T>: Construct<T> { /* none */ } pub trait SqMatrix<T, U>: Construct<T> + Mul<U, Output = U> where T: Construct<T>, U: Vector<T>, { /* none */ }