#[repr(C)]pub struct __kernel_timespec {
pub tv_sec: __kernel_time64_t,
pub tv_nsec: c_longlong,
}
Fields§
§tv_sec: __kernel_time64_t
§tv_nsec: c_longlong
Trait Implementations§
Source§impl Clone for __kernel_timespec
impl Clone for __kernel_timespec
Source§fn clone(&self) -> __kernel_timespec
fn clone(&self) -> __kernel_timespec
Returns a duplicate 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 __kernel_timespec
impl Debug for __kernel_timespec
Source§impl Hash for __kernel_timespec
impl Hash for __kernel_timespec
Source§impl Ord for __kernel_timespec
impl Ord for __kernel_timespec
Source§fn cmp(&self, other: &__kernel_timespec) -> Ordering
fn cmp(&self, other: &__kernel_timespec) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for __kernel_timespec
impl PartialEq for __kernel_timespec
Source§impl PartialOrd for __kernel_timespec
impl PartialOrd for __kernel_timespec
impl Copy for __kernel_timespec
impl Eq for __kernel_timespec
impl StructuralPartialEq for __kernel_timespec
Auto Trait Implementations§
impl Freeze for __kernel_timespec
impl RefUnwindSafe for __kernel_timespec
impl Send for __kernel_timespec
impl Sync for __kernel_timespec
impl Unpin for __kernel_timespec
impl UnwindSafe for __kernel_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