Struct wgpu_core::track::TrackerIndex
source · #[repr(transparent)]pub(crate) struct TrackerIndex(u32);
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
source§impl Clone for TrackerIndex
impl Clone for TrackerIndex
source§fn clone(&self) -> TrackerIndex
fn clone(&self) -> TrackerIndex
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 TrackerIndex
impl Debug for TrackerIndex
source§impl Hash for TrackerIndex
impl Hash for TrackerIndex
source§impl Ord for TrackerIndex
impl Ord for TrackerIndex
source§fn cmp(&self, other: &TrackerIndex) -> Ordering
fn cmp(&self, other: &TrackerIndex) -> 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 TrackerIndex
impl PartialEq for TrackerIndex
source§fn eq(&self, other: &TrackerIndex) -> bool
fn eq(&self, other: &TrackerIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TrackerIndex
impl PartialOrd for TrackerIndex
source§fn partial_cmp(&self, other: &TrackerIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &TrackerIndex) -> 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 TrackerIndex
impl Eq for TrackerIndex
impl StructuralPartialEq for TrackerIndex
Auto Trait Implementations§
impl Freeze for TrackerIndex
impl RefUnwindSafe for TrackerIndex
impl Send for TrackerIndex
impl Sync for TrackerIndex
impl Unpin for TrackerIndex
impl UnwindSafe for TrackerIndex
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.