struct LocaleExpanderBorrowed<'a> {
likely_subtags_l: &'a LikelySubtagsForLanguageV1<'a>,
likely_subtags_sr: &'a LikelySubtagsForScriptRegionV1<'a>,
likely_subtags_ext: Option<&'a LikelySubtagsExtendedV1<'a>>,
}
Fields§
Implementations§
source§impl LocaleExpanderBorrowed<'_>
impl LocaleExpanderBorrowed<'_>
fn get_l(&self, l: Language) -> Option<(Script, Region)>
fn get_ls(&self, l: Language, s: Script) -> Option<Region>
fn get_lr(&self, l: Language, r: Region) -> Option<Script>
fn get_s(&self, s: Script) -> Option<(Language, Region)>
fn get_sr(&self, s: Script, r: Region) -> Option<Language>
fn get_r(&self, r: Region) -> Option<(Language, Script)>
fn get_und(&self) -> (Language, Script, Region)
Auto Trait Implementations§
impl<'a> Freeze for LocaleExpanderBorrowed<'a>
impl<'a> RefUnwindSafe for LocaleExpanderBorrowed<'a>
impl<'a> Send for LocaleExpanderBorrowed<'a>
impl<'a> Sync for LocaleExpanderBorrowed<'a>
impl<'a> Unpin for LocaleExpanderBorrowed<'a>
impl<'a> UnwindSafe for LocaleExpanderBorrowed<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more