pub struct StagingBufferPoolStats {
pub allocations: usize,
pub hits: usize,
}Expand description
Snapshot of StagingBufferPool counters.
Fields§
§allocations: usizeNumber of fresh GPU buffer allocations.
hits: usizeNumber of times a free buffer was reused.
Trait Implementations§
Source§impl Clone for StagingBufferPoolStats
impl Clone for StagingBufferPoolStats
Source§fn clone(&self) -> StagingBufferPoolStats
fn clone(&self) -> StagingBufferPoolStats
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 StagingBufferPoolStats
Source§impl Debug for StagingBufferPoolStats
impl Debug for StagingBufferPoolStats
Source§impl Default for StagingBufferPoolStats
impl Default for StagingBufferPoolStats
Source§fn default() -> StagingBufferPoolStats
fn default() -> StagingBufferPoolStats
Returns the “default value” for a type. Read more
impl Eq for StagingBufferPoolStats
Source§impl PartialEq for StagingBufferPoolStats
impl PartialEq for StagingBufferPoolStats
impl StructuralPartialEq for StagingBufferPoolStats
Auto Trait Implementations§
impl Freeze for StagingBufferPoolStats
impl RefUnwindSafe for StagingBufferPoolStats
impl Send for StagingBufferPoolStats
impl Sync for StagingBufferPoolStats
impl Unpin for StagingBufferPoolStats
impl UnsafeUnpin for StagingBufferPoolStats
impl UnwindSafe for StagingBufferPoolStats
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.