Module style::values::specified::length
[−]
[src]
Reexports
pub use values::specified::calc::CalcLengthOrPercentage; |
pub use super::image::ColorStop; |
pub use super::image::EndingShape as GradientEndingShape; |
pub use super::image::Gradient; |
pub use super::image::GradientKind; |
pub use super::image::Image; |
Structs
CharacterWidth |
HTML5 "character width", as defined in HTML5 § 14.5.4. |
Enums
AbsoluteLength |
Represents an absolute length with its unit |
FontBaseSize |
A source to resolve font-relative units against |
FontRelativeLength |
A font relative length. |
Length |
An extension to |
LengthOrPercentage |
A length or a percentage value. |
LengthOrPercentageOrAuto |
Either a |
LengthOrPercentageOrNone |
Either a |
MaxLength |
A value suitable for a |
MozLength |
A value suitable for a |
NoCalcLength |
A |
ViewportPercentageLength |
A viewport-relative length. |
Constants
AU_PER_CM |
Number of app units per centimeter |
AU_PER_IN |
Number of app units per inch |
AU_PER_MM |
Number of app units per millimeter |
AU_PER_PC |
Number of app units per pica |
AU_PER_PT |
Number of app units per point |
AU_PER_PX |
Number of app units per pixel |
AU_PER_Q |
Number of app units per quarter |
Functions
au_to_int_px |
Same as Gecko's AppUnitsToIntCSSPixels |
Type Definitions
LengthOrAuto |
Either a |
LengthOrNone |
Either a |
LengthOrNormal |
Either a |
LengthOrNumber |
Either a |
NonNegativeLength |
A wrapper of Length, whose value must be >= 0. |
NonNegativeLengthOrAuto |
Either a NonNegativeLength or the |
NonNegativeLengthOrNormal |
Either a NonNegativeLength or the |
NonNegativeLengthOrNumber |
Either a NonNegativeLength or a NonNegativeNumber value. |
NonNegativeLengthOrPercentage |
A wrapper of LengthOrPercentage, whose value must be >= 0. |