Struct icu_capi::fallbacker::ffi::LocaleFallbackerWithConfig
source · pub struct LocaleFallbackerWithConfig<'a>(pub LocaleFallbackerWithConfig<'a>);
Expand description
An object that runs the ICU4X locale fallback algorithm with specific configurations.
Tuple Fields§
§0: LocaleFallbackerWithConfig<'a>
Implementations§
source§impl<'a> LocaleFallbackerWithConfig<'a>
impl<'a> LocaleFallbackerWithConfig<'a>
sourcepub fn fallback_for_locale<'b: 'a, 'temp>(
&'b self,
locale: &'temp Locale,
) -> Box<LocaleFallbackIterator<'a>>
pub fn fallback_for_locale<'b: 'a, 'temp>( &'b self, locale: &'temp Locale, ) -> Box<LocaleFallbackIterator<'a>>
Creates an iterator from a locale with each step of fallback.
Auto Trait Implementations§
impl<'a> Freeze for LocaleFallbackerWithConfig<'a>
impl<'a> RefUnwindSafe for LocaleFallbackerWithConfig<'a>
impl<'a> Send for LocaleFallbackerWithConfig<'a>
impl<'a> Sync for LocaleFallbackerWithConfig<'a>
impl<'a> Unpin for LocaleFallbackerWithConfig<'a>
impl<'a> UnwindSafe for LocaleFallbackerWithConfig<'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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more