Vector2D

Type Alias Vector2D 

pub type Vector2D<T> = Vector2D<T, UnknownUnit>;

Aliased Type§

#[repr(C)]
pub struct Vector2D<T> { pub x: T, pub y: T, }

Fields§

§x: T

The x (traditionally, horizontal) coordinate.

§y: T

The y (traditionally, vertical) coordinate.