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