rustdoc::html::highlight

Function get_real_ident_class

Source
fn get_real_ident_class(text: &str, allow_path_keywords: bool) -> Option<Class>
Expand description

Classifies into identifier class; returns None if this is a non-keyword identifier.