azul_webrender_api::units

Type Alias DeviceIntRect

Source
pub type DeviceIntRect = Box2D<i32, DevicePixel>;

Aliased Type§

struct DeviceIntRect {
    pub min: Point2D<i32, DevicePixel>,
    pub max: Point2D<i32, DevicePixel>,
}

Fields§

§min: Point2D<i32, DevicePixel>§max: Point2D<i32, DevicePixel>

Trait Implementations§

Source§

impl Into<TexelRect> for DeviceIntRect

Source§

fn into(self) -> TexelRect

Converts this type into the (usually inferred) input type.