Expand description
Represents a rectangle defined by the coordinates of the upper-left corner (left, top) and the coordinates of the lower-right corner (right, bottom).
Fields§
§left: i32
The x-coordinate of the upper-left corner of the rectangle.
top: i32
The y-coordinate of the upper-left corner of the rectangle.
right: i32
The x-coordinate of the lower-right corner of the rectangle.
bottom: i32
The y-coordinate of the lower-right corner of the rectangle.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Recti
impl<'de> Deserialize<'de> for Recti
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<RECT> for Recti
impl From<RECT> for Recti
source§fn from(rect: D2D_RECT_L) -> Recti
fn from(rect: D2D_RECT_L) -> Recti
Converts to this type from the input type.
source§impl From<Recti> for D2D_RECT_L
impl From<Recti> for D2D_RECT_L
source§fn from(rect: Recti) -> D2D_RECT_L
fn from(rect: Recti) -> D2D_RECT_L
Converts to this type from the input type.