parse_version_profile

Function parse_version_profile 

Source
pub fn parse_version_profile(string: &str) -> Result<(u32, GlslProfile)>
Expand description

Parses the version and profile from the given string, returning a Result.

The string should contain both version and profile, like 450core. Returns an error if the string cannot be parsed.