azul_webrender_api::units

Type Alias DeviceVector2D

Source
pub type DeviceVector2D = Vector2D<f32, DevicePixel>;

Aliased Type§

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

Fields§

§x: f32

The x (traditionally, horizontal) coordinate.

§y: f32

The y (traditionally, vertical) coordinate.