Type Alias IRect

Source
pub type IRect = Rect<i32>;

Aliased Type§

pub struct IRect {
    pub x0: i32,
    pub y0: i32,
    pub x1: i32,
    pub y1: i32,
}

Fields§

§x0: i32§y0: i32§x1: i32§y1: i32

Trait Implementations§

Source§

impl From<Rect<f64>> for IRect

Source§

fn from(r: Rect) -> Self

Converts to this type from the input type.
Source§

impl From<Rectangle> for IRect

Source§

fn from(r: Rectangle) -> Self

Converts to this type from the input type.