Expand description
<length> computed values, and related ones.
Re-exports§
pub use super::image::Image;pub use super::length_percentage::LengthPercentage;pub use super::length_percentage::NonNegativeLengthPercentage;pub use crate::values::specified::url::UrlOrNone;pub use crate::values::specified::Angle;pub use crate::values::specified::BorderStyle;pub use crate::values::specified::Time;
Macros§
- computed_
length_ 🔒percentage_ or_ auto - Some boilerplate to share between negative and non-negative length-percentage or auto.
Structs§
- CSSPixel
Length - The computed
<length>value.
Type Aliases§
- Length
- An alias of computed
<length>value. - Length
OrAuto - Either a computed
<length>or theautokeyword. - Length
OrNumber - Either a computed
<length>or a<number>value. - Length
Percentage OrAuto - A computed type for
<length-percentage> | auto. - Margin
- A computed type for
marginproperties. - MaxSize
- A computed value for
max-widthormax-heightproperty. - NonNegative
Length - A wrapper of Length, whose value must be >= 0.
- NonNegative
Length OrAuto - Either a non-negative
<length>or theautokeyword. - NonNegative
Length OrNumber - Either a non-negative
<length>or a<number>. - NonNegative
Length Percentage OrAuto - A wrapper of LengthPercentageOrAuto, whose value must be >= 0.
- NonNegative
Length Percentage OrNormal - Either a computed NonNegativeLengthPercentage or the
normalkeyword. - Size
- A computed value for
min-width,min-height,widthorheightproperty.