Type Alias webrender_api::units::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.