Expand description
Mathematical point on the 2D (x, y) plane.
Fields§
§x: i32
Horizontal component
y: i32
Vertical component
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Point2i
impl<'de> Deserialize<'de> for Point2i
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<POINT> for Point2i
impl From<POINT> for Point2i
source§fn from(point: D2D_POINT_2L) -> Point2i
fn from(point: D2D_POINT_2L) -> Point2i
Converts to this type from the input type.
source§impl From<Point2i> for D2D_POINT_2L
impl From<Point2i> for D2D_POINT_2L
source§fn from(point: Point2i) -> D2D_POINT_2L
fn from(point: Point2i) -> D2D_POINT_2L
Converts to this type from the input type.