Struct linux_rust_bindings::time::time_x86::__kernel_timespec
source · #[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 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 __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<__kernel_timespec> for __kernel_timespec
impl PartialEq<__kernel_timespec> for __kernel_timespec
source§fn eq(&self, other: &__kernel_timespec) -> bool
fn eq(&self, other: &__kernel_timespec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<__kernel_timespec> for __kernel_timespec
impl PartialOrd<__kernel_timespec> for __kernel_timespec
source§fn partial_cmp(&self, other: &__kernel_timespec) -> Option<Ordering>
fn partial_cmp(&self, other: &__kernel_timespec) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for __kernel_timespec
impl Eq for __kernel_timespec
impl StructuralEq for __kernel_timespec
impl StructuralPartialEq for __kernel_timespec
Auto Trait Implementations§
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