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