Module properties

Module 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§

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
shorthands
Manual shorthand parsing and serialization

Structs§

AllShorthandDeclarationIterator
An iterator over the all shorthand’s shorthand declarations.
CustomDeclaration
A custom property declaration with the property name and the declared value.
LonghandIdSet
A set of longhand properties
LonghandIdSetIterator
An iterator over a set of longhand ids.
NonCustomPropertyId
A longhand or shorthand property.
NonCustomPropertyIdSet
A set of all properties.
NonCustomPropertyIterator
An iterator over all the property ids that are enabled for a given shorthand, if that shorthand is enabled for all content too.
PropertyFlags
A set of flags for properties.
SourcePropertyDeclaration
A stack-allocated vector of PropertyDeclaration large enough to parse one CSS key: value declaration. (Shorthands expand to multiple PropertyDeclarations.)
SourcePropertyDeclarationDrain
Return type of SourcePropertyDeclaration::drain
TransitionPropertyIteration
A single iteration of the TransitionPropertyIterator.
TransitionPropertyIterator
An iterator over all the properties that transition on a given style.
UnparsedValue
An unparsed property value that contains var() functions.
VariableDeclaration
An unparsed declaration that contains var() functions.
WideKeywordDeclaration
A declaration using a CSS-wide keyword.

Enums§

AllShorthand
A parsed all-shorthand value.
CSSWideKeyword
An enum to represent a CSS Wide keyword.
CustomDeclarationValue
A custom property declaration value is either an unparsed value or a CSS wide-keyword.
OwnedPropertyDeclarationId
A PropertyDeclarationId without references, for use as a hash map key.
PropertyDeclarationId
An identifier for a given property declaration, which can be either a longhand or a custom property.
PropertyId
Representation of a CSS property, that is, either a longhand, a shorthand, or a custom property.

Functions§

parse_non_custom_property_declaration_value_into 🔒

Type Aliases§

ShorthandsWithPropertyReferencesCache
A simple cache for properties that come from a shorthand and have variable references.
SubpropertiesVec
An ArrayVec of subproperties, contains space for the longest shorthand except all.