Type Alias CoordPair

Source
pub type CoordPair = CoordinatePair<CSSFloat>;
Expand description

The path coord type.

Aliased Type§

#[repr(C)]
pub struct CoordPair { pub x: f32, pub y: f32, }

Fields§

§x: f32§y: f32

Trait Implementations§

Source§

impl Add for CoordPair

Source§

type Output = CoordinatePair<f32>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CoordPair) -> CoordPair

Performs the + operation. Read more
Source§

impl Div<f32> for CoordPair

Source§

type Output = CoordinatePair<f32>

The resulting type after applying the / operator.
Source§

fn div(self, f: CSSFloat) -> CoordPair

Performs the / operation. Read more
Source§

impl Mul<f32> for CoordPair

Source§

type Output = CoordinatePair<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, f: CSSFloat) -> CoordPair

Performs the * operation. Read more
Source§

impl Sub for CoordPair

Source§

type Output = CoordinatePair<f32>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CoordPair) -> CoordPair

Performs the - operation. Read more