pub struct CycleCount(/* private fields */);Implementations§
Source§impl CycleCount
impl CycleCount
pub fn now() -> Self
pub fn cycles_since(&self, earlier: CycleCount) -> u64
Trait Implementations§
Source§impl Clone for CycleCount
impl Clone for CycleCount
Source§fn clone(&self) -> CycleCount
fn clone(&self) -> CycleCount
Returns a duplicate 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 CycleCount
impl Debug for CycleCount
Source§impl Ord for CycleCount
impl Ord for CycleCount
Source§fn cmp(&self, other: &CycleCount) -> Ordering
fn cmp(&self, other: &CycleCount) -> 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 for CycleCount
impl PartialEq for CycleCount
Source§impl PartialOrd for CycleCount
impl PartialOrd for CycleCount
impl Copy for CycleCount
impl Eq for CycleCount
impl StructuralPartialEq for CycleCount
Auto Trait Implementations§
impl Freeze for CycleCount
impl RefUnwindSafe for CycleCount
impl Send for CycleCount
impl Sync for CycleCount
impl Unpin for CycleCount
impl UnwindSafe for CycleCount
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