Struct icu_locale_canonicalizer::provider::LikelySubtagsV1 [−][src]
pub struct LikelySubtagsV1 { pub language_script: Vec<(TinyStr4, TinyStr4, LanguageIdentifier)>, pub language_region: Vec<(TinyStr4, TinyStr4, LanguageIdentifier)>, pub language: Vec<(TinyStr4, LanguageIdentifier)>, pub script_region: Vec<(TinyStr4, TinyStr4, LanguageIdentifier)>, pub script: Vec<(TinyStr4, LanguageIdentifier)>, pub region: Vec<(TinyStr4, LanguageIdentifier)>, pub und: LanguageIdentifier, }
Fields
language_script: Vec<(TinyStr4, TinyStr4, LanguageIdentifier)>
language_region: Vec<(TinyStr4, TinyStr4, LanguageIdentifier)>
language: Vec<(TinyStr4, LanguageIdentifier)>
script_region: Vec<(TinyStr4, TinyStr4, LanguageIdentifier)>
script: Vec<(TinyStr4, LanguageIdentifier)>
region: Vec<(TinyStr4, LanguageIdentifier)>
und: LanguageIdentifier
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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 LikelySubtagsV1
impl Send for LikelySubtagsV1
impl Sync for LikelySubtagsV1
impl Unpin for LikelySubtagsV1
impl UnwindSafe for LikelySubtagsV1
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.