DipPoint

Type Alias DipPoint 

Source
pub type DipPoint = Point2D<Dip, Dip>;
Expand description

A point in device independent pixels.

Aliased Type§

#[repr(C)]
pub struct DipPoint { pub x: Dip, pub y: Dip, }

Fields§

§x: Dip§y: Dip

Trait Implementations§

Source§

impl Div<Factor2d> for DipPoint

Source§

type Output = Point2D<Dip, Dip>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Factor2d) -> DipPoint

Performs the / operation. Read more
Source§

impl DivAssign<Factor2d> for DipPoint

Source§

fn div_assign(&mut self, rhs: Factor2d)

Performs the /= operation. Read more
Source§

impl IntoVar<Point> for DipPoint

Source§

impl Mul<Factor2d> for DipPoint

Source§

type Output = Point2D<Dip, Dip>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Factor2d) -> DipPoint

Performs the * operation. Read more
Source§

impl MulAssign<Factor2d> for DipPoint

Source§

fn mul_assign(&mut self, rhs: Factor2d)

Performs the *= operation. Read more
Source§

impl IntoValue<Point> for DipPoint