Type Alias webrender_api::units::RasterRect

source ·
pub type RasterRect = Box2D<f32, RasterPixel>;

Aliased Type§

struct RasterRect {
    pub min: Point2D<f32, RasterPixel>,
    pub max: Point2D<f32, RasterPixel>,
}

Fields§

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

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