#[repr(u8)]pub enum DateTimeKind {
Unspecified = 0,
Utc = 1,
Local = 2,
}Expand description
The kind of time a DateTime represents.
Variants§
Unspecified = 0
Neither local time nor UTC is stated.
Utc = 1
Coordinated Universal Time.
Local = 2
Local time.
Trait Implementations§
Source§impl Clone for DateTimeKind
impl Clone for DateTimeKind
impl Copy for DateTimeKind
Source§impl Debug for DateTimeKind
impl Debug for DateTimeKind
Source§impl Default for DateTimeKind
impl Default for DateTimeKind
impl Eq for DateTimeKind
Source§impl Hash for DateTimeKind
impl Hash for DateTimeKind
Source§impl MarkupTyped for DateTimeKind
impl MarkupTyped for DateTimeKind
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for DateTimeKind
impl PartialEq for DateTimeKind
impl StructuralPartialEq for DateTimeKind
Auto Trait Implementations§
impl Freeze for DateTimeKind
impl RefUnwindSafe for DateTimeKind
impl Send for DateTimeKind
impl Sync for DateTimeKind
impl Unpin for DateTimeKind
impl UnsafeUnpin for DateTimeKind
impl UnwindSafe for DateTimeKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more