Skip to main content

property_value

Function property_value 

Source
pub fn property_value<'a>(
    resolved: &'a [ResolvedSet],
    set_name: &str,
    property_name: &str,
) -> Option<&'a Property>
Expand description

Find a single property by set name and property name.

Returns the winning value after precedence, so a caller asking for Pset_WallCommon.IsExternal gets the occurrence’s answer when it has one and the type’s otherwise – which is what the question means.