Type Definition vectrix::Vector [−][src]
type Vector<T, const M: usize> = Matrix<T, M, 1>;
A matrix with one column and M
rows.
Implementations
impl<T> Vector<T, 2>
[src]
impl<T> Vector<T, 3>
[src]
impl<T> Vector<T, 4>
[src]
pub const fn new(x: T, y: T, z: T, w: T) -> Self
[src]
Creates a new vector from the given components.
impl<T> Vector<T, 5>
[src]
pub const fn new(x: T, y: T, z: T, w: T, a: T) -> Self
[src]
Creates a new vector from the given components.
impl<T> Vector<T, 6>
[src]
pub const fn new(x: T, y: T, z: T, w: T, a: T, b: T) -> Self
[src]
Creates a new vector from the given components.