Struct rustpython_vm::stdlib::errno::errors::time_value_t
source · #[repr(C)]pub struct time_value_t {
pub seconds: i32,
pub microseconds: i32,
}
Fields§
§seconds: i32
§microseconds: i32
Trait Implementations§
source§impl Clone for time_value_t
impl Clone for time_value_t
source§fn clone(&self) -> time_value_t
fn clone(&self) -> time_value_t
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 time_value_t
impl Debug for time_value_t
source§impl Hash for time_value_t
impl Hash for time_value_t
source§impl PartialEq<time_value_t> for time_value_t
impl PartialEq<time_value_t> for time_value_t
source§fn eq(&self, other: &time_value_t) -> bool
fn eq(&self, other: &time_value_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for time_value_t
impl Eq for time_value_t
Auto Trait Implementations§
impl RefUnwindSafe for time_value_t
impl Send for time_value_t
impl Sync for time_value_t
impl Unpin for time_value_t
impl UnwindSafe for time_value_t
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.