Enum rust_icu_sys::UCalendarAttribute
source · #[repr(u32)]pub enum UCalendarAttribute {
UCAL_LENIENT = 0,
UCAL_FIRST_DAY_OF_WEEK = 1,
UCAL_MINIMAL_DAYS_IN_FIRST_WEEK = 2,
UCAL_REPEATED_WALL_TIME = 3,
UCAL_SKIPPED_WALL_TIME = 4,
}
Variants§
UCAL_LENIENT = 0
UCAL_FIRST_DAY_OF_WEEK = 1
UCAL_MINIMAL_DAYS_IN_FIRST_WEEK = 2
UCAL_REPEATED_WALL_TIME = 3
UCAL_SKIPPED_WALL_TIME = 4
Trait Implementations§
source§impl Clone for UCalendarAttribute
impl Clone for UCalendarAttribute
source§fn clone(&self) -> UCalendarAttribute
fn clone(&self) -> UCalendarAttribute
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 UCalendarAttribute
impl Debug for UCalendarAttribute
source§impl Hash for UCalendarAttribute
impl Hash for UCalendarAttribute
source§impl PartialEq for UCalendarAttribute
impl PartialEq for UCalendarAttribute
source§fn eq(&self, other: &UCalendarAttribute) -> bool
fn eq(&self, other: &UCalendarAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UCalendarAttribute
impl PartialOrd for UCalendarAttribute
source§fn partial_cmp(&self, other: &UCalendarAttribute) -> Option<Ordering>
fn partial_cmp(&self, other: &UCalendarAttribute) -> 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 UCalendarAttribute
impl Eq for UCalendarAttribute
impl StructuralPartialEq for UCalendarAttribute
Auto Trait Implementations§
impl RefUnwindSafe for UCalendarAttribute
impl Send for UCalendarAttribute
impl Sync for UCalendarAttribute
impl Unpin for UCalendarAttribute
impl UnwindSafe for UCalendarAttribute
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