Struct style::custom_properties::CustomPropertiesBuilder [] [src]

pub struct CustomPropertiesBuilder<'a> { /* fields omitted */ }

A struct that takes care of encapsulating the cascade process for custom properties.

Methods

impl<'a> CustomPropertiesBuilder<'a>
[src]

[src]

Create a new builder, inheriting from a given custom properties map.

[src]

Cascade a given custom property declaration.

[src]

Returns the final map of applicable custom properties.

If there was any specified property, we've created a new map and now we need to remove any potential cycles, and wrap it in an arc.

Otherwise, just use the inherited custom properties map.