Expand description
Mathematical point on the 2D (x, y) plane.
Fields§
§x: u32
Horizontal component
y: u32
Vertical component
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Point2u
impl<'de> Deserialize<'de> for Point2u
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<D2D_POINT_2U> for Point2u
impl From<D2D_POINT_2U> for Point2u
source§fn from(point: D2D_POINT_2U) -> Point2u
fn from(point: D2D_POINT_2U) -> Point2u
Converts to this type from the input type.
source§impl From<Point2u> for D2D_POINT_2U
impl From<Point2u> for D2D_POINT_2U
source§fn from(point: Point2u) -> D2D_POINT_2U
fn from(point: Point2u) -> D2D_POINT_2U
Converts to this type from the input type.