Struct rusttype::Vector
[−]
[src]
pub struct Vector<N> { pub x: N, pub y: N, }
A vector in 2-dimensional space, with each dimension of type N
.
Legal operations on vectors are addition and subtraction by vectors, addition by points (to give points), and multiplication and division by scalars.
Fields
x | |
y |