Crate app_units

source ·
Expand description

An Au is an “App Unit” and represents 1/60th of a CSS pixel. It was originally proposed in 2002 as a standard unit of measure in Gecko. See https://bugzilla.mozilla.org/show_bug.cgi?id=177805 for more info.

Structs§

  • An App Unit, the fundamental unit of length in Servo. Usually 1/60th of a pixel (see AU_PER_PX)

Constants§

  • The number of app units in a pixel.
  • The maximum number of app units, same as in Gecko.
  • The minimum number of app units, same as in Gecko.