Struct arceos_posix_api::ctypes::timespec
source · #[repr(C)]pub struct timespec {
pub tv_sec: time_t,
pub tv_nsec: c_long,
}
Fields§
§tv_sec: time_t
§tv_nsec: c_long
Trait Implementations§
impl Copy for timespec
Auto Trait Implementations§
impl RefUnwindSafe for timespec
impl Send for timespec
impl Sync for timespec
impl Unpin for timespec
impl UnwindSafe for timespec
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