#[repr(C)]pub struct timespec {
pub tv_sec: time_t,
pub tv_nsec: c_long,
}Fields§
§tv_sec: time_t§tv_nsec: c_longtrait 实现§
impl Copy for timespec
impl Eq for timespec
impl StructuralPartialEq for timespec
自动 trait 实现§
impl Freeze for timespec
impl RefUnwindSafe for timespec
impl Send for timespec
impl Sync for timespec
impl Unpin for timespec
impl UnsafeUnpin for timespec
impl UnwindSafe for timespec
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
从拥有的值可变地借用。 阅读更多