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.
PrivateUse(TinyStr4)
Implementations
impl ResourceCategory
[src]
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 Clone for ResourceCategory
[src]fn clone(&self) -> ResourceCategory
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResourceCategory
[src]
impl Copy for ResourceCategory
[src]impl Eq for ResourceCategory
[src]
impl Eq for ResourceCategory
[src]impl From<&'_ ResourceCategory> for Error
[src]
impl From<&'_ ResourceCategory> for Error
[src]fn from(category: &ResourceCategory) -> Self
[src]
impl Ord for ResourceCategory
[src]
impl Ord for ResourceCategory
[src]impl PartialEq<ResourceCategory> for ResourceCategory
[src]
impl PartialEq<ResourceCategory> for ResourceCategory
[src]fn eq(&self, other: &ResourceCategory) -> bool
[src]
fn ne(&self, other: &ResourceCategory) -> bool
[src]
impl PartialOrd<ResourceCategory> for ResourceCategory
[src]
impl PartialOrd<ResourceCategory> for ResourceCategory
[src]fn partial_cmp(&self, other: &ResourceCategory) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for ResourceCategory
[src]
impl StructuralEq for ResourceCategory
[src]impl StructuralPartialEq for ResourceCategory
[src]
impl StructuralPartialEq for ResourceCategory
[src]impl Writeable for ResourceCategory
[src]
impl Writeable for ResourceCategory
[src]Auto Trait Implementations
impl RefUnwindSafe for ResourceCategory
impl RefUnwindSafe for ResourceCategory
impl Send for ResourceCategory
impl Send for ResourceCategory
impl Sync for ResourceCategory
impl Sync for ResourceCategory
impl Unpin for ResourceCategory
impl Unpin for ResourceCategory
impl UnwindSafe for ResourceCategory
impl UnwindSafe for ResourceCategory