pub enum LocaleCategory {
Show 13 variants
LcCType = 0,
LcNumeric = 1,
LcTime = 2,
LcCollate = 3,
LcMonetary = 4,
LcMessages = 5,
LcAll = 6,
LcPaper = 7,
LcName = 8,
LcAddress = 9,
LcTelephone = 10,
LcMeasurement = 11,
LcIdentification = 12,
}
Expand description
Locale category enum ported from locale.h.
Variants§
LcCType = 0
Character classification and case conversion.
LcNumeric = 1
Non-monetary numeric formats.
LcTime = 2
Date and time formats.
LcCollate = 3
Collation order.
LcMonetary = 4
Monetary formats.
LcMessages = 5
Formats of informative and diagnostic messages and interactive responses.
LcAll = 6
For all.
LcPaper = 7
Paper size.
LcName = 8
Name formats.
LcAddress = 9
Address formats and location information.
LcTelephone = 10
Telephone number formats.
LcMeasurement = 11
Measurement units (Metric or Other).
LcIdentification = 12
Metadata about the locale information.
Trait Implementations§
source§impl Clone for LocaleCategory
impl Clone for LocaleCategory
source§fn clone(&self) -> LocaleCategory
fn clone(&self) -> LocaleCategory
Returns a copy of the value. Read more
1.0.0 · 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 LocaleCategory
impl Debug for LocaleCategory
source§impl PartialEq for LocaleCategory
impl PartialEq for LocaleCategory
impl Copy for LocaleCategory
impl StructuralPartialEq for LocaleCategory
Auto Trait Implementations§
impl Freeze for LocaleCategory
impl RefUnwindSafe for LocaleCategory
impl Send for LocaleCategory
impl Sync for LocaleCategory
impl Unpin for LocaleCategory
impl UnwindSafe for LocaleCategory
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)