Struct wgpu_core::registry::RegistryReport
source · pub struct RegistryReport {
pub num_allocated: usize,
pub num_kept_from_user: usize,
pub num_released_from_user: usize,
pub num_error: usize,
pub element_size: usize,
}
Fields§
§num_allocated: usize
§num_kept_from_user: usize
§num_released_from_user: usize
§num_error: usize
§element_size: usize
Implementations§
Trait Implementations§
source§impl Clone for RegistryReport
impl Clone for RegistryReport
source§fn clone(&self) -> RegistryReport
fn clone(&self) -> RegistryReport
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 RegistryReport
impl Debug for RegistryReport
source§impl Default for RegistryReport
impl Default for RegistryReport
source§fn default() -> RegistryReport
fn default() -> RegistryReport
Returns the “default value” for a type. Read more
source§impl PartialEq for RegistryReport
impl PartialEq for RegistryReport
source§fn eq(&self, other: &RegistryReport) -> bool
fn eq(&self, other: &RegistryReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegistryReport
impl Eq for RegistryReport
impl StructuralPartialEq for RegistryReport
Auto Trait Implementations§
impl Freeze for RegistryReport
impl RefUnwindSafe for RegistryReport
impl Send for RegistryReport
impl Sync for RegistryReport
impl Unpin for RegistryReport
impl UnwindSafe for RegistryReport
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> 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.