Struct libc::mach_timebase_info
source · #[repr(C)]pub struct mach_timebase_info {
pub numer: u32,
pub denom: u32,
}
👎Deprecated since 0.2.55: Use the
mach2
crate insteadFields§
§numer: u32
👎Deprecated since 0.2.55: Use the
§mach2
crate insteaddenom: u32
👎Deprecated since 0.2.55: Use the
mach2
crate insteadTrait 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§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 Hash for mach_timebase_info
impl Hash for mach_timebase_info
source§impl PartialEq for mach_timebase_info
impl PartialEq 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 ==
.