#[repr(C)]pub struct TimeVal {
pub tv_sec: usize,
pub tv_usec: usize,
}Expand description
表示一个包含秒和微秒的时间值。
Fields§
§tv_sec: usize自纪元以来的秒数。
tv_usec: usize自秒开始以来的微秒数。
Auto Trait Implementations§
impl Freeze for TimeVal
impl RefUnwindSafe for TimeVal
impl Send for TimeVal
impl Sync for TimeVal
impl Unpin for TimeVal
impl UnwindSafe for TimeVal
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