[−][src]Function shaderc::parse_version_profile
pub fn parse_version_profile(string: &str) -> Option<(u32, GlslProfile)>
Parses the version and profile from the given string
.
The string should contain both version and profile, like: 450core
.
Returns None
if the string can not be parsed.