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