pub type PxSideOffsets = SideOffsets2D<Px, Px>;
Expand description
Side-offsets in device pixels.
Aliased Type§
struct PxSideOffsets {
pub top: Px,
pub right: Px,
pub bottom: Px,
pub left: Px,
}
Fields§
§top: Px
Top offset.
right: Px
Right offset.
bottom: Px
Bottom offset.
left: Px
Left offset.
Trait Implementations§
source§impl Div<FactorSideOffsets> for PxSideOffsets
impl Div<FactorSideOffsets> for PxSideOffsets
source§fn div(self, rhs: FactorSideOffsets) -> PxSideOffsets
fn div(self, rhs: FactorSideOffsets) -> PxSideOffsets
Performs the
/
operation. Read moresource§impl DivAssign<FactorSideOffsets> for PxSideOffsets
impl DivAssign<FactorSideOffsets> for PxSideOffsets
source§fn div_assign(&mut self, rhs: FactorSideOffsets)
fn div_assign(&mut self, rhs: FactorSideOffsets)
Performs the
/=
operation. Read moresource§impl IntoVar<SideOffsets> for PxSideOffsets
impl IntoVar<SideOffsets> for PxSideOffsets
source§impl Mul<FactorSideOffsets> for PxSideOffsets
impl Mul<FactorSideOffsets> for PxSideOffsets
source§fn mul(self, rhs: FactorSideOffsets) -> PxSideOffsets
fn mul(self, rhs: FactorSideOffsets) -> PxSideOffsets
Performs the
*
operation. Read moresource§impl MulAssign<FactorSideOffsets> for PxSideOffsets
impl MulAssign<FactorSideOffsets> for PxSideOffsets
source§fn mul_assign(&mut self, rhs: FactorSideOffsets)
fn mul_assign(&mut self, rhs: FactorSideOffsets)
Performs the
*=
operation. Read more