Type Alias CoordinatePair

Source
pub type CoordinatePair = CoordinatePair<LengthPercentage>;
Expand description

The computed value of CoordinatePair.

Aliased Type§

#[repr(C)]
pub struct CoordinatePair { pub x: LengthPercentage, pub y: LengthPercentage, }

Fields§

§x: LengthPercentage§y: LengthPercentage

Trait Implementations§

Source§

impl From<&CoordinatePair<f32>> for CoordinatePair

Source§

fn from(p: &CoordPair) -> Self

Converts to this type from the input type.