Enum icu_provider::prelude::ResourceCategory[][src]

#[non_exhaustive]
pub enum ResourceCategory {
    Icu4x,
    LikelySubtags,
    Plurals,
    Dates,
    TimeZones,
    Uniset,
    Decimal,
    PrivateUse(TinyStr4),
}

A top-level collection of related resource keys.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Icu4x
LikelySubtags
Plurals
Dates
TimeZones
Uniset
Decimal
PrivateUse(TinyStr4)

Implementations

impl ResourceCategory[src]

pub fn as_str(&self) -> Cow<'static, str>[src]

Gets or builds a string form of this ResourceCategory.

Trait Implementations

impl Clone for ResourceCategory[src]

impl Copy for ResourceCategory[src]

impl Debug for ResourceCategory[src]

impl Display for ResourceCategory[src]

impl Eq for ResourceCategory[src]

impl From<&'_ ResourceCategory> for Error[src]

impl Ord for ResourceCategory[src]

impl PartialEq<ResourceCategory> for ResourceCategory[src]

impl PartialOrd<ResourceCategory> for ResourceCategory[src]

impl StructuralEq for ResourceCategory[src]

impl StructuralPartialEq for ResourceCategory[src]

impl Writeable for ResourceCategory[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> ErasedDataStruct for T where
    T: Clone + Debug + Any
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.