Skip to main content

Point2D

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§

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

Fields§

§x: T§y: T