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 · 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 Hash for mach_timebase_info
impl Hash for mach_timebase_info
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 ==
.impl 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