Struct icu_locale_canonicalizer::provider::AliasesV1 [−][src]
pub struct AliasesV1 { pub language: Vec<(LanguageIdentifier, LanguageIdentifier)>, pub language_variants: Vec<(LanguageIdentifier, LanguageIdentifier)>, pub sgn_region: Vec<(TinyStr4, LanguageIdentifier)>, pub language_len2: Vec<(TinyStr4, LanguageIdentifier)>, pub language_len3: Vec<(TinyStr4, LanguageIdentifier)>, pub script: Vec<(TinyStr4, TinyStr4)>, pub region_alpha: Vec<(TinyStr4, TinyStr4)>, pub region_num: Vec<(TinyStr4, TinyStr4)>, pub complex_region: Vec<(TinyStr4, Vec<TinyStr4>)>, pub variant: Vec<(TinyStr8, TinyStr8)>, pub subdivision: Vec<(TinyStr8, TinyStr8)>, }
Fields
language: Vec<(LanguageIdentifier, LanguageIdentifier)>
language_variants: Vec<(LanguageIdentifier, LanguageIdentifier)>
sgn_region: Vec<(TinyStr4, LanguageIdentifier)>
language_len2: Vec<(TinyStr4, LanguageIdentifier)>
language_len3: Vec<(TinyStr4, LanguageIdentifier)>
script: Vec<(TinyStr4, TinyStr4)>
region_alpha: Vec<(TinyStr4, TinyStr4)>
region_num: Vec<(TinyStr4, TinyStr4)>
complex_region: Vec<(TinyStr4, Vec<TinyStr4>)>
variant: Vec<(TinyStr8, TinyStr8)>
subdivision: Vec<(TinyStr8, TinyStr8)>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type Output = Self
type Output = Self
This type MUST be Self
with the 'static
replaced with 'a
, i.e. Self<'a>
This method must cast self
between &'a Self<'static>
and &'a Self<'a>
. Read more
This method must cast self
between Self<'static>
and Self<'a>
. Read more
This method can be used to cast away Self<'a>
’s lifetime. Read more
fn transform_mut<F>(&'a mut self, f: F) where
F: 'static + for<'b> FnOnce(&'b mut Self::Output),
fn transform_mut<F>(&'a mut self, f: F) where
F: 'static + for<'b> FnOnce(&'b mut Self::Output),
This method must cast self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read more
Clone the cart C
into a [Yokeable
] struct, which may retain references into C
.
Auto Trait Implementations
impl RefUnwindSafe for AliasesV1
impl UnwindSafe for AliasesV1
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.