Skip to main content

validate_component_suffix

Function validate_component_suffix 

Source
pub fn validate_component_suffix(
    value: &str,
) -> Result<(), ComponentSuffixError>
Expand description

Validate a component/prototyping suffix.

ยงErrors

Returns ComponentSuffixError when value is empty, is _, starts with a non-identifier ASCII character, contains non-identifier ASCII characters, or contains non-ASCII characters.