pub struct BindGroupCacheStats {
pub hits: usize,
pub misses: usize,
pub evictions: usize,
pub entries: usize,
}Expand description
Bind-group cache statistics for a compiled wgpu pipeline.
Fields§
§hits: usizeNumber of cached bind-group hits.
misses: usizeNumber of bind-group creations caused by cache misses.
evictions: usizeNumber of cached bind-group entries evicted to honor the cap.
entries: usizeCurrent number of entries held.
Trait Implementations§
Source§impl Clone for BindGroupCacheStats
impl Clone for BindGroupCacheStats
Source§fn clone(&self) -> BindGroupCacheStats
fn clone(&self) -> BindGroupCacheStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BindGroupCacheStats
Source§impl Debug for BindGroupCacheStats
impl Debug for BindGroupCacheStats
Source§impl Default for BindGroupCacheStats
impl Default for BindGroupCacheStats
Source§fn default() -> BindGroupCacheStats
fn default() -> BindGroupCacheStats
Returns the “default value” for a type. Read more
impl Eq for BindGroupCacheStats
Source§impl PartialEq for BindGroupCacheStats
impl PartialEq for BindGroupCacheStats
impl StructuralPartialEq for BindGroupCacheStats
Auto Trait Implementations§
impl Freeze for BindGroupCacheStats
impl RefUnwindSafe for BindGroupCacheStats
impl Send for BindGroupCacheStats
impl Sync for BindGroupCacheStats
impl Unpin for BindGroupCacheStats
impl UnsafeUnpin for BindGroupCacheStats
impl UnwindSafe for BindGroupCacheStats
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§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.