pub struct Language(_);
Implementations
sourceimpl 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.Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more