#[repr(C)]pub struct Timeval {
pub tv_sec: i64,
pub tv_usec: i64,
}Expand description
struct timeval du kernel (time_t tv_sec, suseconds_t tv_usec), tel que
rempli par getrusage(2). Layout #[repr(C)] fidèle, cibles 64-bit.
Fields§
§tv_sec: i64Secondes.
tv_usec: i64Microsecondes ([0, 1_000_000)).
Trait Implementations§
impl Copy for Timeval
impl Eq for Timeval
impl StructuralPartialEq for Timeval
Auto Trait Implementations§
impl Freeze for Timeval
impl RefUnwindSafe for Timeval
impl Send for Timeval
impl Sync for Timeval
impl Unpin for Timeval
impl UnsafeUnpin 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