style::custom_properties

Function compute_variable_value

Source
pub fn compute_variable_value(
    value: &Arc<VariableValue>,
    registration: &PropertyRegistrationData,
    computed_context: &Context<'_>,
) -> Option<ComputedValue>
Expand description

Given a potentially registered variable value turn it into a computed custom property value.