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: u32
The x-coordinate of the upper-left corner of the rectangle.
top: u32
The y-coordinate of the upper-left corner of the rectangle.
right: u32
The x-coordinate of the lower-right corner of the rectangle.
bottom: u32
The y-coordinate of the lower-right corner of the rectangle.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rectu
impl<'de> Deserialize<'de> for Rectu
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_RECT_U> for Rectu
impl From<D2D_RECT_U> for Rectu
source§fn from(rect: D2D_RECT_U) -> Rectu
fn from(rect: D2D_RECT_U) -> Rectu
Converts to this type from the input type.
source§impl From<Rectu> for D2D_RECT_U
impl From<Rectu> for D2D_RECT_U
source§fn from(rect: Rectu) -> D2D_RECT_U
fn from(rect: Rectu) -> D2D_RECT_U
Converts to this type from the input type.