Skip to main content

layer_matches

Function layer_matches 

Source
pub fn layer_matches(pattern: &str, id: &str) -> bool
Expand description

Whether layer id id matches pattern: * matches any run of characters, ? any one; anything else matches itself.