matches_selectors

Function matches_selectors 

Source
pub fn matches_selectors(
    moniker: &ExtendedMoniker,
    selectors: &[ComponentSelector],
) -> bool
Expand description

Returns true if moniker matches one of selectors.

ยงPanics

This can panic if any selector in selectors is invalid; it assumes selectors is valid.