Skip to main content

from_code

Function from_code 

Source
pub fn from_code(code: &str) -> Id
Expand description

Returns the language ID for the given ISO code.

This dynamically derives the ID - for frequently used languages, use the static constants instead.