Skip to main content

spec_names

Function spec_names 

Source
pub fn spec_names(specs: &[ParamSpec]) -> Vec<&'static str>
Expand description

The names in a spec roster, for the places that still want &[&str].

Allocates, so it is for load-time validation and tests rather than a frame.