Trait ilattice::vector::Vector2 [−][src]
pub trait Vector2: Vector + From<[Self::Scalar; 2]> {
fn x(self) -> Self::Scalar;
fn y(self) -> Self::Scalar;
fn as_array<T>(self) -> [T; 2]
where
Self::Scalar: PrimitiveCast<T>,
{ ... }
}