pub type PxSize = Size2D<Px, Px>;Expand description
A size in device pixels.
Aliased Type§
#[repr(C)]pub struct PxSize {
pub width: Px,
pub height: Px,
}Fields§
§width: PxThe extent of the element in the U units along the x axis (usually horizontal).
height: PxThe extent of the element in the U units along the y axis (usually vertical).
Trait Implementations§
Source§impl DivAssign<Factor> for PxSize
impl DivAssign<Factor> for PxSize
Source§fn div_assign(&mut self, rhs: Factor)
fn div_assign(&mut self, rhs: Factor)
Performs the
/= operation. Read more