struct LocaleFallbackIteratorInner<'a> {
likely_subtags: &'a LocaleFallbackLikelySubtagsV1<'a>,
parents: &'a LocaleFallbackParentsV1<'a>,
supplement: Option<&'a LocaleFallbackSupplementV1<'a>>,
config: LocaleFallbackConfig,
backup_extension: Option<Value>,
backup_subdivision: Option<Value>,
backup_variants: Option<Variants>,
}Expand description
Inner iteration type. Does not own the item under fallback.
Fields§
§parents: &'a LocaleFallbackParentsV1<'a>§supplement: Option<&'a LocaleFallbackSupplementV1<'a>>§config: LocaleFallbackConfig§backup_extension: Option<Value>§backup_subdivision: Option<Value>§backup_variants: Option<Variants>Implementations§
Source§impl<'a> LocaleFallbackIteratorInner<'a>
impl<'a> LocaleFallbackIteratorInner<'a>
pub fn step(&mut self, locale: &mut DataLocale)
fn step_language(&mut self, locale: &mut DataLocale)
fn step_region(&mut self, locale: &mut DataLocale)
fn restore_extensions_variants(&mut self, locale: &mut DataLocale)
fn get_explicit_parent(&self, locale: &DataLocale) -> Option<LanguageIdentifier>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LocaleFallbackIteratorInner<'a>
impl<'a> RefUnwindSafe for LocaleFallbackIteratorInner<'a>
impl<'a> Send for LocaleFallbackIteratorInner<'a>
impl<'a> Sync for LocaleFallbackIteratorInner<'a>
impl<'a> Unpin for LocaleFallbackIteratorInner<'a>
impl<'a> UnwindSafe for LocaleFallbackIteratorInner<'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