pub struct ReadbackBufferPoolStats {
pub created: u64,
pub reused: u64,
pub discarded: u64,
pub active: usize,
pub active_bytes: u64,
pub high_water_bytes: u64,
pub available: usize,
pub available_bytes: u64,
}Expand description
Allocation and retention counters for mapped readback buffers.
Fields§
§created: u64Physical buffers created since renderer construction.
reused: u64Acquisitions served by an unmapped idle buffer.
discarded: u64Buffers dropped instead of retained, including unfinished readbacks.
active: usizeBuffers currently owned by submitted or mapped readbacks.
active_bytes: u64Bytes currently owned by submitted or mapped readbacks.
high_water_bytes: u64Maximum active bytes observed since renderer construction.
available: usizeUnmapped buffers currently available for reuse.
available_bytes: u64Bytes retained by idle reusable buffers.
Trait Implementations§
Source§impl Clone for ReadbackBufferPoolStats
impl Clone for ReadbackBufferPoolStats
impl Copy for ReadbackBufferPoolStats
Source§impl Debug for ReadbackBufferPoolStats
impl Debug for ReadbackBufferPoolStats
Source§impl Default for ReadbackBufferPoolStats
impl Default for ReadbackBufferPoolStats
impl Eq for ReadbackBufferPoolStats
Source§impl PartialEq for ReadbackBufferPoolStats
impl PartialEq for ReadbackBufferPoolStats
impl StructuralPartialEq for ReadbackBufferPoolStats
Auto Trait Implementations§
impl Freeze for ReadbackBufferPoolStats
impl RefUnwindSafe for ReadbackBufferPoolStats
impl Send for ReadbackBufferPoolStats
impl Sync for ReadbackBufferPoolStats
impl Unpin for ReadbackBufferPoolStats
impl UnsafeUnpin for ReadbackBufferPoolStats
impl UnwindSafe for ReadbackBufferPoolStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.