Type Alias webrender_api::units::LayoutVector2D

source ·
pub type LayoutVector2D = Vector2D<f32, LayoutPixel>;

Aliased Type§

struct LayoutVector2D {
    pub x: f32,
    pub y: f32,
}

Fields§

§x: f32

The x (traditionally, horizontal) coordinate.

§y: f32

The y (traditionally, vertical) coordinate.

Trait Implementations§