pub struct Language(_);
Implementations§
source§impl Language
impl Language
pub fn from_string(language: &str) -> Self
pub fn to_string(&self) -> GString
pub fn matches(&self, range_list: &str) -> bool
pub fn includes_script(&self, script: Script) -> bool
pub fn scripts(&self) -> Vec<Script>
pub fn sample_string(&self) -> GString
pub fn preferred(&self) -> Vec<Language>
Available on crate feature
v1_48
only.