Struct wgpu_core::storage::StorageReport
source · pub struct StorageReport {
pub num_occupied: usize,
pub num_vacant: usize,
pub num_error: usize,
pub element_size: usize,
}
Fields§
§num_occupied: usize
§num_vacant: usize
§num_error: usize
§element_size: usize
Implementations§
Trait Implementations§
source§impl Clone for StorageReport
impl Clone for StorageReport
source§fn clone(&self) -> StorageReport
fn clone(&self) -> StorageReport
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 StorageReport
impl Debug for StorageReport
source§impl Default for StorageReport
impl Default for StorageReport
source§fn default() -> StorageReport
fn default() -> StorageReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for StorageReport
impl Send for StorageReport
impl Sync for StorageReport
impl Unpin for StorageReport
impl UnwindSafe for StorageReport
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