Struct linux_api::time::linux_timespec
source · #[repr(C)]pub struct linux_timespec {
pub tv_sec: c_long,
pub tv_nsec: c_long,
}
Fields§
§tv_sec: c_long
§tv_nsec: c_long
Trait Implementations§
source§impl Clone for linux_timespec
impl Clone for linux_timespec
source§fn clone(&self) -> linux_timespec
fn clone(&self) -> linux_timespec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for linux_timespec
impl Debug for linux_timespec
source§impl PartialEq for linux_timespec
impl PartialEq for linux_timespec
impl Copy for linux_timespec
impl Eq for linux_timespec
impl StructuralPartialEq for linux_timespec
Auto Trait Implementations§
impl Freeze for linux_timespec
impl RefUnwindSafe for linux_timespec
impl Send for linux_timespec
impl Sync for linux_timespec
impl Unpin for linux_timespec
impl UnwindSafe for linux_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)