pub(crate) struct Cycle(u8);Expand description
Cycle timestamp
Measured from the beginning of the program, assuming no branches taken. It’s useful to be able to store these compactly in register latency arrays.
Tuple Fields§
§0: u8Implementations§
Trait Implementations§
Source§impl Ord for Cycle
impl Ord for Cycle
1.21.0 (const: unstable) · 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 PartialOrd for Cycle
impl PartialOrd for Cycle
impl Copy for Cycle
impl Eq for Cycle
impl StructuralPartialEq for Cycle
Auto Trait Implementations§
impl Freeze for Cycle
impl RefUnwindSafe for Cycle
impl Send for Cycle
impl Sync for Cycle
impl Unpin for Cycle
impl UnsafeUnpin for Cycle
impl UnwindSafe for Cycle
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