pub struct Parents<'data> {
pub parents: ZeroMap<'data, PotentialUtf8, (Language, Option<Script>, Option<Region>)>,
}
Expand description
Locale fallback rules derived from CLDR parent locales data.
Fields§
§parents: ZeroMap<'data, PotentialUtf8, (Language, Option<Script>, Option<Region>)>
Map from language identifier to language identifier, indicating that the language on the left should inherit from the language on the right.
Trait Implementations§
Source§impl<'de, 'data> Deserialize<'de> for Parents<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for Parents<'data>where
'de: 'data,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Parents<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Parents<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MaybeAsVarULE for Parents<'_>
impl MaybeAsVarULE for Parents<'_>
Source§impl<'a> Yokeable<'a> for Parents<'static>
impl<'a> Yokeable<'a> for Parents<'static>
Source§type Output = Parents<'a>
type Output = Parents<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
impl<'data> StructuralPartialEq for Parents<'data>
Auto Trait Implementations§
impl<'data> Freeze for Parents<'data>
impl<'data> RefUnwindSafe for Parents<'data>
impl<'data> Send for Parents<'data>
impl<'data> Sync for Parents<'data>
impl<'data> Unpin for Parents<'data>
impl<'data> UnwindSafe for Parents<'data>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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