Struct libc::ntptimeval
source · #[repr(C)]pub struct ntptimeval {
pub time: timeval,
pub maxerror: c_long,
pub esterror: c_long,
pub tai: c_long,
pub __glibc_reserved1: c_long,
pub __glibc_reserved2: c_long,
pub __glibc_reserved3: c_long,
pub __glibc_reserved4: c_long,
}
Fields§
§time: timeval
§maxerror: c_long
§esterror: c_long
§tai: c_long
§__glibc_reserved1: c_long
§__glibc_reserved2: c_long
§__glibc_reserved3: c_long
§__glibc_reserved4: c_long
Trait Implementations§
source§impl Clone for ntptimeval
impl Clone for ntptimeval
source§fn clone(&self) -> ntptimeval
fn clone(&self) -> ntptimeval
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 ntptimeval
impl Debug for ntptimeval
source§impl Hash for ntptimeval
impl Hash for ntptimeval
source§impl PartialEq for ntptimeval
impl PartialEq for ntptimeval
source§fn eq(&self, other: &ntptimeval) -> bool
fn eq(&self, other: &ntptimeval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ntptimeval
impl Eq for ntptimeval
impl StructuralPartialEq for ntptimeval
Auto Trait Implementations§
impl Freeze for ntptimeval
impl RefUnwindSafe for ntptimeval
impl Send for ntptimeval
impl Sync for ntptimeval
impl Unpin for ntptimeval
impl UnwindSafe for ntptimeval
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)