Struct simics_api_sys::bindings::os_tm
source · #[repr(C)]pub struct os_tm {
pub tm_sec: c_int,
pub tm_min: c_int,
pub tm_hour: c_int,
pub tm_mday: c_int,
pub tm_mon: c_int,
pub tm_year: c_int,
pub tm_wday: c_int,
pub tm_yday: c_int,
pub tm_isdst: c_int,
}
Fields§
§tm_sec: c_int
Seconds. [0-60] (1 leap second)
tm_min: c_int
Minutes. [0-59]
tm_hour: c_int
Hours. [0-23]
tm_mday: c_int
Day. [1-31]
tm_mon: c_int
Month. [0-11]
tm_year: c_int
Year - 1900.
tm_wday: c_int
Day of week. [0-6]
tm_yday: c_int
Days in year.[0-365]
tm_isdst: c_int
DST. [-1/0/1]
Trait Implementations§
source§impl Ord for os_tm
impl Ord for os_tm
source§impl PartialOrd for os_tm
impl PartialOrd for os_tm
impl Copy for os_tm
impl Eq for os_tm
impl StructuralPartialEq for os_tm
Auto Trait Implementations§
impl Freeze for os_tm
impl RefUnwindSafe for os_tm
impl Send for os_tm
impl Sync for os_tm
impl Unpin for os_tm
impl UnwindSafe for os_tm
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
)