#[repr(i32)]pub enum UDateFormatStyle {
UDAT_FULL = 0,
UDAT_LONG = 1,
UDAT_MEDIUM = 2,
UDAT_SHORT = 3,
UDAT_RELATIVE = 128,
UDAT_LONG_RELATIVE = 129,
UDAT_MEDIUM_RELATIVE = 130,
UDAT_SHORT_RELATIVE = 131,
UDAT_NONE = -1,
UDAT_PATTERN = -2,
}
Variants§
UDAT_FULL = 0
UDAT_LONG = 1
UDAT_MEDIUM = 2
UDAT_SHORT = 3
UDAT_RELATIVE = 128
UDAT_LONG_RELATIVE = 129
UDAT_MEDIUM_RELATIVE = 130
UDAT_SHORT_RELATIVE = 131
UDAT_NONE = -1
UDAT_PATTERN = -2
Implementations§
Source§impl UDateFormatStyle
impl UDateFormatStyle
pub const UDAT_DEFAULT: UDateFormatStyle = UDateFormatStyle::UDAT_MEDIUM
Source§impl UDateFormatStyle
impl UDateFormatStyle
pub const UDAT_FULL_RELATIVE: UDateFormatStyle = UDateFormatStyle::UDAT_RELATIVE
Source§impl UDateFormatStyle
impl UDateFormatStyle
pub const UDAT_IGNORE: UDateFormatStyle = UDateFormatStyle::UDAT_PATTERN
Trait Implementations§
Source§impl Clone for UDateFormatStyle
impl Clone for UDateFormatStyle
Source§fn clone(&self) -> UDateFormatStyle
fn clone(&self) -> UDateFormatStyle
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 UDateFormatStyle
impl Debug for UDateFormatStyle
Source§impl Hash for UDateFormatStyle
impl Hash for UDateFormatStyle
Source§impl PartialEq for UDateFormatStyle
impl PartialEq for UDateFormatStyle
Source§impl PartialOrd for UDateFormatStyle
impl PartialOrd for UDateFormatStyle
impl Copy for UDateFormatStyle
impl Eq for UDateFormatStyle
impl StructuralPartialEq for UDateFormatStyle
Auto Trait Implementations§
impl Freeze for UDateFormatStyle
impl RefUnwindSafe for UDateFormatStyle
impl Send for UDateFormatStyle
impl Sync for UDateFormatStyle
impl Unpin for UDateFormatStyle
impl UnwindSafe for UDateFormatStyle
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
)