Skip to main content

parse_method_when

Function parse_method_when 

Source
fn parse_method_when(opt: &ParseNestedMeta<'_>) -> Result<InheritsHint>
Expand description

A method-level when(class = "a, b", message = "...") hint in inherits(p(...)): its classes are one comma-separated string, as the entry’s own class, and its message is required.