pub enum IsoCountry {
Show 15 variants
US,
GB,
AU,
DE,
AT,
CH,
CN,
TW,
PT,
BR,
JP,
ES,
FR,
CA,
Other(Atom),
}Expand description
Countries for use Lang::Iso dialects.
These countries are used to do dialect fallback. Countries not used in that can be represented
as IsoCountry::Other. If a country is in the list, you don’t need to allocate to refer to it,
so there are some non-participating countries in the list simply because it’s faster.
Variants§
US
United States
GB
Great Britain
AU
Australia
DE
Deutschland
AT
Austria
CH
Switzerland
CN
China
TW
Taiwan
PT
Portugal
BR
Brazil
JP
Japan
ES
Spain
FR
France
CA
Canada
Other(Atom)
Trait Implementations§
Source§impl Clone for IsoCountry
impl Clone for IsoCountry
Source§fn clone(&self) -> IsoCountry
fn clone(&self) -> IsoCountry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IsoCountry
impl Debug for IsoCountry
Source§impl Display for IsoCountry
impl Display for IsoCountry
impl Eq for IsoCountry
Source§impl FromStr for IsoCountry
impl FromStr for IsoCountry
Source§impl Hash for IsoCountry
impl Hash for IsoCountry
Source§impl PartialEq for IsoCountry
impl PartialEq for IsoCountry
Source§fn eq(&self, other: &IsoCountry) -> bool
fn eq(&self, other: &IsoCountry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IsoCountry
Auto Trait Implementations§
impl Freeze for IsoCountry
impl RefUnwindSafe for IsoCountry
impl Send for IsoCountry
impl Sync for IsoCountry
impl Unpin for IsoCountry
impl UnsafeUnpin for IsoCountry
impl UnwindSafe for IsoCountry
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