#[repr(u32)]pub enum UDateTimePatternField {
Show 17 variants
UDATPG_ERA_FIELD = 0,
UDATPG_YEAR_FIELD = 1,
UDATPG_QUARTER_FIELD = 2,
UDATPG_MONTH_FIELD = 3,
UDATPG_WEEK_OF_YEAR_FIELD = 4,
UDATPG_WEEK_OF_MONTH_FIELD = 5,
UDATPG_WEEKDAY_FIELD = 6,
UDATPG_DAY_OF_YEAR_FIELD = 7,
UDATPG_DAY_OF_WEEK_IN_MONTH_FIELD = 8,
UDATPG_DAY_FIELD = 9,
UDATPG_DAYPERIOD_FIELD = 10,
UDATPG_HOUR_FIELD = 11,
UDATPG_MINUTE_FIELD = 12,
UDATPG_SECOND_FIELD = 13,
UDATPG_FRACTIONAL_SECOND_FIELD = 14,
UDATPG_ZONE_FIELD = 15,
UDATPG_FIELD_COUNT = 16,
}
Variants§
UDATPG_ERA_FIELD = 0
UDATPG_YEAR_FIELD = 1
UDATPG_QUARTER_FIELD = 2
UDATPG_MONTH_FIELD = 3
UDATPG_WEEK_OF_YEAR_FIELD = 4
UDATPG_WEEK_OF_MONTH_FIELD = 5
UDATPG_WEEKDAY_FIELD = 6
UDATPG_DAY_OF_YEAR_FIELD = 7
UDATPG_DAY_OF_WEEK_IN_MONTH_FIELD = 8
UDATPG_DAY_FIELD = 9
UDATPG_DAYPERIOD_FIELD = 10
UDATPG_HOUR_FIELD = 11
UDATPG_MINUTE_FIELD = 12
UDATPG_SECOND_FIELD = 13
UDATPG_FRACTIONAL_SECOND_FIELD = 14
UDATPG_ZONE_FIELD = 15
UDATPG_FIELD_COUNT = 16
Trait Implementations§
source§impl Clone for UDateTimePatternField
impl Clone for UDateTimePatternField
source§fn clone(&self) -> UDateTimePatternField
fn clone(&self) -> UDateTimePatternField
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 UDateTimePatternField
impl Debug for UDateTimePatternField
source§impl Hash for UDateTimePatternField
impl Hash for UDateTimePatternField
source§impl PartialEq for UDateTimePatternField
impl PartialEq for UDateTimePatternField
source§fn eq(&self, other: &UDateTimePatternField) -> bool
fn eq(&self, other: &UDateTimePatternField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UDateTimePatternField
impl PartialOrd for UDateTimePatternField
source§fn partial_cmp(&self, other: &UDateTimePatternField) -> Option<Ordering>
fn partial_cmp(&self, other: &UDateTimePatternField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UDateTimePatternField
impl Eq for UDateTimePatternField
impl StructuralPartialEq for UDateTimePatternField
Auto Trait Implementations§
impl Freeze for UDateTimePatternField
impl RefUnwindSafe for UDateTimePatternField
impl Send for UDateTimePatternField
impl Sync for UDateTimePatternField
impl Unpin for UDateTimePatternField
impl UnwindSafe for UDateTimePatternField
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)