Type Alias webrender_api::units::DeviceRect

source ·
pub type DeviceRect = Box2D<f32, DevicePixel>;

Aliased Type§

struct DeviceRect {
    pub min: Point2D<f32, DevicePixel>,
    pub max: Point2D<f32, DevicePixel>,
}

Fields§

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

Trait Implementations§

source§

impl<U> RectExt for Box2D<f32, U>

§

type Point = Point2D<f32, U>

source§

fn top_left(&self) -> Self::Point

source§

fn top_right(&self) -> Self::Point

source§

fn bottom_left(&self) -> Self::Point

source§

fn bottom_right(&self) -> Self::Point