Enum uvm_core::unity::Localization
source · pub enum Localization {
Ja,
Ko,
Fr,
Es,
ZhCn,
ZhHant,
ZhHans,
Ru,
}
Expand description
add the localization generic information to the config ja and ko are available since 2018.1+ zh-cn is available since 2018.2+ zh-hant is available since 2019.1+ zh-cn changed to zh-hans since 2019.1+
Variants
Ja
Ko
Fr
Es
ZhCn
ZhHant
ZhHans
Ru
Implementations
Trait Implementations
sourceimpl Clone for Localization
impl Clone for Localization
sourcefn clone(&self) -> Localization
fn clone(&self) -> Localization
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Localization
impl Debug for Localization
sourceimpl<'de> Deserialize<'de> for Localization
impl<'de> Deserialize<'de> for Localization
sourcefn 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
sourceimpl From<Localization> for Component
impl From<Localization> for Component
sourcefn from(locale: Localization) -> Self
fn from(locale: Localization) -> Self
Converts to this type from the input type.
sourceimpl FromStr for Localization
impl FromStr for Localization
sourceimpl Hash for Localization
impl Hash for Localization
sourceimpl PartialEq<Localization> for Localization
impl PartialEq<Localization> for Localization
sourcefn eq(&self, other: &Localization) -> bool
fn eq(&self, other: &Localization) -> bool
sourceimpl Serialize for Localization
impl Serialize for Localization
impl Copy for Localization
impl Eq for Localization
impl StructuralEq for Localization
impl StructuralPartialEq for Localization
Auto Trait Implementations
impl RefUnwindSafe for Localization
impl Send for Localization
impl Sync for Localization
impl Unpin for Localization
impl UnwindSafe for Localization
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.