Struct mach::mach_time::mach_timebase_info
source · #[repr(C)]pub struct mach_timebase_info {
pub numer: u32,
pub denom: u32,
}
Fields§
§numer: u32
§denom: u32
Trait Implementations§
source§impl Clone for mach_timebase_info
impl Clone for mach_timebase_info
source§fn clone(&self) -> mach_timebase_info
fn clone(&self) -> mach_timebase_info
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 mach_timebase_info
impl Debug for mach_timebase_info
source§impl Default for mach_timebase_info
impl Default for mach_timebase_info
source§fn default() -> mach_timebase_info
fn default() -> mach_timebase_info
Returns the “default value” for a type. Read more
source§impl Hash for mach_timebase_info
impl Hash for mach_timebase_info
source§impl Ord for mach_timebase_info
impl Ord for mach_timebase_info
source§fn cmp(&self, other: &mach_timebase_info) -> Ordering
fn cmp(&self, other: &mach_timebase_info) -> 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<mach_timebase_info> for mach_timebase_info
impl PartialEq<mach_timebase_info> for mach_timebase_info
source§fn eq(&self, other: &mach_timebase_info) -> bool
fn eq(&self, other: &mach_timebase_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<mach_timebase_info> for mach_timebase_info
impl PartialOrd<mach_timebase_info> for mach_timebase_info
source§fn partial_cmp(&self, other: &mach_timebase_info) -> Option<Ordering>
fn partial_cmp(&self, other: &mach_timebase_info) -> 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 mach_timebase_info
impl Eq for mach_timebase_info
impl StructuralEq for mach_timebase_info
impl StructuralPartialEq for mach_timebase_info
Auto Trait Implementations§
impl RefUnwindSafe for mach_timebase_info
impl Send for mach_timebase_info
impl Sync for mach_timebase_info
impl Unpin for mach_timebase_info
impl UnwindSafe for mach_timebase_info
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