DipSideOffsets

Type Alias DipSideOffsets 

Source
pub type DipSideOffsets = SideOffsets2D<Dip, Dip>;
Expand description

Side-offsets in device independent pixels.

Aliased Type§

pub struct DipSideOffsets {
    pub top: Dip,
    pub right: Dip,
    pub bottom: Dip,
    pub left: Dip,
}

Fields§

§top: Dip

Top offset.

§right: Dip

Right offset.

§bottom: Dip

Bottom offset.

§left: Dip

Left offset.

Trait Implementations§

Source§

impl Div<FactorSideOffsets> for DipSideOffsets

Source§

type Output = SideOffsets2D<Dip, Dip>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: FactorSideOffsets) -> DipSideOffsets

Performs the / operation. Read more
Source§

impl DivAssign<FactorSideOffsets> for DipSideOffsets

Source§

fn div_assign(&mut self, rhs: FactorSideOffsets)

Performs the /= operation. Read more
Source§

impl IntoVar<SideOffsets> for DipSideOffsets

Source§

impl Mul<FactorSideOffsets> for DipSideOffsets

Source§

type Output = SideOffsets2D<Dip, Dip>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: FactorSideOffsets) -> DipSideOffsets

Performs the * operation. Read more
Source§

impl MulAssign<FactorSideOffsets> for DipSideOffsets

Source§

fn mul_assign(&mut self, rhs: FactorSideOffsets)

Performs the *= operation. Read more
Source§

impl IntoValue<SideOffsets> for DipSideOffsets