[][src]Enum csl::locale::IsoCountry

pub enum IsoCountry {
    US,
    GB,
    AU,
    DE,
    AT,
    CH,
    CN,
    TW,
    PT,
    BR,
    JP,
    ES,
    FR,
    CA,
    Other(Atom),
}

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

impl PartialEq<IsoCountry> for IsoCountry[src]

impl Clone for IsoCountry[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for IsoCountry[src]

impl Display for IsoCountry[src]

impl Debug for IsoCountry[src]

impl Hash for IsoCountry[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for IsoCountry[src]

type Err = ParseError

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]