euclid::default

Type Alias Vector2D

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

Aliased Type§

struct Vector2D<T> {
    pub x: T,
    pub y: T,
    /* private fields */
}

Fields§

§x: T

The x (traditionally, horizontal) coordinate.

§y: T

The y (traditionally, vertical) coordinate.