Struct rayon_core::sleep::counters::JobsEventCounter
source · pub(super) struct JobsEventCounter(usize);
Expand description
A value read from the Jobs Event Counter.
See the README.md
for more
coverage of how the jobs event counter works.
Tuple Fields§
§0: usize
Implementations§
source§impl JobsEventCounter
impl JobsEventCounter
pub(super) const DUMMY: JobsEventCounter = _
pub(super) fn as_usize(self) -> usize
Trait Implementations§
source§impl Clone for JobsEventCounter
impl Clone for JobsEventCounter
source§fn clone(&self) -> JobsEventCounter
fn clone(&self) -> JobsEventCounter
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 JobsEventCounter
impl Debug for JobsEventCounter
source§impl PartialEq for JobsEventCounter
impl PartialEq for JobsEventCounter
source§fn eq(&self, other: &JobsEventCounter) -> bool
fn eq(&self, other: &JobsEventCounter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for JobsEventCounter
impl PartialOrd for JobsEventCounter
source§fn partial_cmp(&self, other: &JobsEventCounter) -> Option<Ordering>
fn partial_cmp(&self, other: &JobsEventCounter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for JobsEventCounter
impl StructuralPartialEq for JobsEventCounter
Auto Trait Implementations§
impl Freeze for JobsEventCounter
impl RefUnwindSafe for JobsEventCounter
impl Send for JobsEventCounter
impl Sync for JobsEventCounter
impl Unpin for JobsEventCounter
impl UnwindSafe for JobsEventCounter
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