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 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 ==
.impl Copy for mach_timebase_info
impl Eq for mach_timebase_info
impl StructuralPartialEq for mach_timebase_info
Auto Trait Implementationsยง
impl Freeze for mach_timebase_info
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