#[repr(C)]pub struct timespec {
pub tv_sec: time_t,
pub tv_nsec: c_long,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§tv_sec: time_t
§tv_nsec: c_long
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
Source§impl timespec
impl timespec
pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
impl Copy for timespec
Auto Trait Implementations§
impl Freeze for timespec
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