Module style::properties
source · Expand description
Supported CSS properties and the cascade.
Re-exports§
pub use self::cascade::*;
pub use self::declaration_block::*;
pub use self::generated::*;
Modules§
- The main cascading algorithm of the style system.
- A property declaration block.
- The CSS properties supported by the style system. Generated from the properties.mako.rs template by build.rs
Structs§
- An iterator over the all shorthand’s shorthand declarations.
- A custom property declaration with the property name and the declared value.
- A set of longhand properties
- An iterator over a set of longhand ids.
- A longhand or shorthand property.
- A set of all properties.
- An iterator over all the property ids that are enabled for a given shorthand, if that shorthand is enabled for all content too.
- A set of flags for properties.
- A stack-allocated vector of
PropertyDeclaration
large enough to parse one CSSkey: value
declaration. (Shorthands expand to multiplePropertyDeclaration
s.) - Return type of SourcePropertyDeclaration::drain
- An unparsed property value that contains
var()
functions. - An unparsed declaration that contains
var()
functions. - A declaration using a CSS-wide keyword.
Enums§
- A parsed all-shorthand value.
- An enum to represent a CSS Wide keyword.
- A custom property declaration value is either an unparsed value or a CSS wide-keyword.
- A PropertyDeclarationId without references, for use as a hash map key.
- An identifier for a given property declaration, which can be either a longhand or a custom property.
- Representation of a CSS property, that is, either a longhand, a shorthand, or a custom property.
Functions§
Type Aliases§
- A simple cache for properties that come from a shorthand and have variable references.
- An ArrayVec of subproperties, contains space for the longest shorthand except all.