Skip to main content

apply_pairs

Function apply_pairs 

Source
pub fn apply_pairs(
    properties: &mut Vec<Property>,
    pairs: impl IntoIterator<Item = (&'static str, &'static str)>,
)
Expand description

Adds pairs in order, each one replacing an earlier property of the same name (case-insensitive), so the last one wins.