Struct winsafe::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,
}
Available on crate feature
kernel
only.Expand description
SYSTEMTIME
struct.
Can be converted to FILETIME
with
SystemTimeToFileTime
function.
Fields§
§wYear: u16
§wMonth: u16
§wDayOfWeek: u16
§wDay: u16
§wHour: u16
§wMinute: u16
§wSecond: u16
§wMilliseconds: u16
Trait Implementations§
source§impl Clone for SYSTEMTIME
impl Clone for SYSTEMTIME
source§fn clone(&self) -> SYSTEMTIME
fn clone(&self) -> SYSTEMTIME
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 Default for SYSTEMTIME
impl Default for SYSTEMTIME
source§fn default() -> SYSTEMTIME
fn default() -> SYSTEMTIME
Returns the “default value” for a type. Read more
source§impl PartialEq for SYSTEMTIME
impl PartialEq for SYSTEMTIME
source§fn eq(&self, other: &SYSTEMTIME) -> bool
fn eq(&self, other: &SYSTEMTIME) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SYSTEMTIME
impl StructuralPartialEq for SYSTEMTIME
Auto Trait Implementations§
impl Freeze for SYSTEMTIME
impl RefUnwindSafe for SYSTEMTIME
impl Send for SYSTEMTIME
impl Sync for SYSTEMTIME
impl Unpin for SYSTEMTIME
impl UnwindSafe for SYSTEMTIME
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