Type Alias webrender_api::units::LayoutRect

source ·
pub type LayoutRect = Box2D<f32, LayoutPixel>;

Aliased Type§

struct LayoutRect {
    pub min: Point2D<f32, LayoutPixel>,
    pub max: Point2D<f32, LayoutPixel>,
}

Fields§

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

Trait Implementations§

source§

impl AuHelpers<Box2D<Au, LayoutPixel>> for LayoutRect

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