Struct mach_sys::time_value::time_value_t
source · #[repr(C)]pub struct time_value_t {
pub seconds: integer_t,
pub microseconds: integer_t,
}Fields§
§seconds: integer_t§microseconds: integer_tTrait 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 Default for time_value_t
impl Default for time_value_t
source§fn default() -> time_value_t
fn default() -> time_value_t
Returns the “default value” for a type. Read more
source§impl Hash for time_value_t
impl Hash for time_value_t
source§impl Ord for time_value_t
impl Ord for time_value_t
source§fn cmp(&self, other: &time_value_t) -> Ordering
fn cmp(&self, other: &time_value_t) -> 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 time_value_t
impl PartialEq 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 ==.source§impl PartialOrd for time_value_t
impl PartialOrd for time_value_t
source§fn partial_cmp(&self, other: &time_value_t) -> Option<Ordering>
fn partial_cmp(&self, other: &time_value_t) -> 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 time_value_t
impl Eq for time_value_t
impl StructuralPartialEq 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