1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! The vector module. //! //! Currently contains all code //! relating to the vector linear algebra struct. mod impl_ops; mod impl_vec; /// The Vector struct. /// /// Can be instantiated with any type. #[derive(Debug, PartialEq, Eq, Hash)] pub struct Vector<T> { size: usize, data: Vec<T>, }