Struct win_sys::SYSTEMTIME
source · [−]#[repr(C)]pub struct SYSTEMTIME {
pub wYear: u16,
pub wMonth: u16,
pub wDayOfWeek: u16,
pub wDay: u16,
pub wHour: u16,
pub wMinute: u16,
pub wSecond: u16,
pub wMilliseconds: u16,
}Expand description
Required features: ‘Win32_Foundation’
Fields
wYear: u16wMonth: u16wDayOfWeek: u16wDay: u16wHour: u16wMinute: u16wSecond: u16wMilliseconds: u16Trait Implementations
sourceimpl Clone for SYSTEMTIME
impl Clone for SYSTEMTIME
sourcepub fn clone(&self) -> SYSTEMTIME
pub fn clone(&self) -> SYSTEMTIME
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SYSTEMTIME
impl Debug for SYSTEMTIME
sourceimpl Default for SYSTEMTIME
impl Default for SYSTEMTIME
sourcepub fn default() -> SYSTEMTIME
pub fn default() -> SYSTEMTIME
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SYSTEMTIME> for SYSTEMTIME
impl PartialEq<SYSTEMTIME> for SYSTEMTIME
impl Copy for SYSTEMTIME
impl Eq for SYSTEMTIME
Auto Trait Implementations
impl RefUnwindSafe for SYSTEMTIME
impl Send for SYSTEMTIME
impl Sync for SYSTEMTIME
impl Unpin for SYSTEMTIME
impl UnwindSafe for SYSTEMTIME
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more