[go: up one dir, main page]

Type Alias Point2D

Source
pub type Point2D<T> = TypedPoint2D<T, UnknownUnit>;
Expand description

Default 2d point type with no unit.

Point2D provides the same methods as TypedPoint2D.

Aliased Type§

#[repr(C)]
pub struct Point2D<T> { pub x: T, pub y: T, /* private fields */ }

Fields§

§x: T§y: T