Type Alias webrender_api::units::PictureBox2D

source ·
pub type PictureBox2D = Box2D<f32, PicturePixel>;

Aliased Type§

struct PictureBox2D {
    pub min: Point2D<f32, PicturePixel>,
    pub max: Point2D<f32, PicturePixel>,
}

Fields§

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

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