pub type DipSideOffsets = SideOffsets2D<Dip, Dip>;
Expand description
Side-offsets in device independent pixels.
Aliased Type§
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
impl Div<FactorSideOffsets> for DipSideOffsets
source§fn div(self, rhs: FactorSideOffsets) -> DipSideOffsets
fn div(self, rhs: FactorSideOffsets) -> DipSideOffsets
Performs the
/
operation. Read moresource§impl DivAssign<FactorSideOffsets> for DipSideOffsets
impl DivAssign<FactorSideOffsets> for DipSideOffsets
source§fn div_assign(&mut self, rhs: FactorSideOffsets)
fn div_assign(&mut self, rhs: FactorSideOffsets)
Performs the
/=
operation. Read moresource§impl IntoVar<SideOffsets> for DipSideOffsets
impl IntoVar<SideOffsets> for DipSideOffsets
source§impl Mul<FactorSideOffsets> for DipSideOffsets
impl Mul<FactorSideOffsets> for DipSideOffsets
source§fn mul(self, rhs: FactorSideOffsets) -> DipSideOffsets
fn mul(self, rhs: FactorSideOffsets) -> DipSideOffsets
Performs the
*
operation. Read moresource§impl MulAssign<FactorSideOffsets> for DipSideOffsets
impl MulAssign<FactorSideOffsets> for DipSideOffsets
source§fn mul_assign(&mut self, rhs: FactorSideOffsets)
fn mul_assign(&mut self, rhs: FactorSideOffsets)
Performs the
*=
operation. Read more