Skip to main content

classify_with

Function classify_with 

Source
pub fn classify_with(pat: &str, mode: Option<Mode>) -> PatternKind
Expand description

classify under an optional explicit mode: a stated Mode pins the kind; absent, promotion decides.