Struct wgpu_types::InternalCounter
source · pub struct InternalCounter { /* private fields */ }
Expand description
An internal counter for debugging purposes
Internally represented as an atomic isize if the counters
feature is enabled,
or compiles to nothing otherwise.
Implementations§
Trait Implementations§
source§impl Clone for InternalCounter
impl Clone for InternalCounter
source§impl Debug for InternalCounter
impl Debug for InternalCounter
Auto Trait Implementations§
impl !Freeze for InternalCounter
impl RefUnwindSafe for InternalCounter
impl Send for InternalCounter
impl Sync for InternalCounter
impl Unpin for InternalCounter
impl UnwindSafe for InternalCounter
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)