Type Alias webrender_api::units::WorldRect

source ·
pub type WorldRect = Box2D<f32, WorldPixel>;

Aliased Type§

struct WorldRect {
    pub min: Point2D<f32, WorldPixel>,
    pub max: Point2D<f32, WorldPixel>,
}

Fields§

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

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