Struct rustpython_vm::stdlib::errno::errors::ntptimeval
source · #[repr(C)]pub struct ntptimeval {
pub time: timespec,
pub maxerror: i64,
pub esterror: i64,
pub tai: i64,
pub time_state: i32,
}
Fields§
§time: timespec
§maxerror: i64
§esterror: i64
§tai: i64
§time_state: i32
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<ntptimeval> for ntptimeval
impl PartialEq<ntptimeval> 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 StructuralEq for ntptimeval
impl StructuralPartialEq for ntptimeval
Auto Trait Implementations§
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.