pub struct ClockId(/* private fields */);Implementations§
Source§impl ClockId
impl ClockId
pub const CLOCK_MONOTONIC: Self
pub const CLOCK_REALTIME: Self
pub const CLOCK_PROCESS_CPUTIME_ID: Self
pub const CLOCK_THREAD_CPUTIME_ID: Self
pub const fn from_raw(raw: clockid_t) -> Self
pub const fn as_raw(self) -> clockid_t
Trait Implementations§
impl Copy for ClockId
impl Eq for ClockId
impl StructuralPartialEq for ClockId
Auto Trait Implementations§
impl Freeze for ClockId
impl RefUnwindSafe for ClockId
impl Send for ClockId
impl Sync for ClockId
impl Unpin for ClockId
impl UnsafeUnpin for ClockId
impl UnwindSafe for ClockId
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