DipSize

Type Alias DipSize 

Source
pub type DipSize = Size2D<Dip, Dip>;
Expand description

A size in device pixels.

Aliased Type§

#[repr(C)]
pub struct DipSize { pub width: Dip, pub height: Dip, }

Fields§

§width: Dip

The extent of the element in the U units along the x axis (usually horizontal).

§height: Dip

The extent of the element in the U units along the y axis (usually vertical).

Trait Implementations§

Source§

impl Div<Factor2d> for DipSize

Source§

type Output = Size2D<Dip, Dip>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl DivAssign<Factor2d> for DipSize

Source§

fn div_assign(&mut self, rhs: Factor2d)

Performs the /= operation. Read more
Source§

impl IntoVar<Size> for DipSize

Source§

impl Mul<Factor2d> for DipSize

Source§

type Output = Size2D<Dip, Dip>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl MulAssign<Factor2d> for DipSize

Source§

fn mul_assign(&mut self, rhs: Factor2d)

Performs the *= operation. Read more
Source§

impl IntoValue<Size> for DipSize