pub fn names(source: &str, name: &str) -> bool
Whether source names the component name as ui.<name>, not as the start of a longer name (ui.Card is not ui.CardGrid).
source
name
ui.<name>
ui.Card
ui.CardGrid