#[repr(C)]pub struct 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§tm_min: c_int§tm_hour: c_int§tm_mday: c_int§tm_mon: c_int§tm_year: c_int§tm_wday: c_int§tm_yday: c_int§tm_isdst: c_inttrait 实现§
impl Copy for tm
impl Eq for tm
impl StructuralPartialEq for tm
自动 trait 实现§
impl Freeze for tm
impl RefUnwindSafe for tm
impl Send for tm
impl Sync for tm
impl Unpin for tm
impl UnsafeUnpin for tm
impl UnwindSafe for tm
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多