DipRect

Type Alias DipRect 

Source
pub type DipRect = Rect<Dip, Dip>;
Expand description

A rectangle in device independent pixels.

Aliased Type§

#[repr(C)]
pub struct DipRect { pub origin: Point2D<Dip, Dip>, pub size: Size2D<Dip, Dip>, }

Fields§

§origin: Point2D<Dip, Dip>§size: Size2D<Dip, Dip>

Trait Implementations§

Source§

impl Div<Factor2d> for DipRect

Source§

type Output = Rect<Dip, Dip>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl DivAssign<Factor2d> for DipRect

Source§

fn div_assign(&mut self, rhs: Factor2d)

Performs the /= operation. Read more
Source§

impl IntoVar<Rect> for DipRect

Source§

fn into_var(self) -> Var<Rect>

New in exact length.

Source§

impl Mul<Factor2d> for DipRect

Source§

type Output = Rect<Dip, Dip>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl MulAssign<Factor2d> for DipRect

Source§

fn mul_assign(&mut self, rhs: Factor2d)

Performs the *= operation. Read more
Source§

impl IntoValue<Rect> for DipRect