pub struct ResourcePoolStats {
pub acquire_count: u64,
pub reuse_count: u64,
pub created_count: u64,
pub retained_count: u64,
pub estimated_retained_bytes: u64,
}Expand description
Aggregate counters for the FrameGraph-owned transient resource pool.
Fields§
§acquire_count: u64Number of physical transient allocation requests.
reuse_count: u64Number of allocation requests served by a retained native resource.
created_count: u64Number of native resources created by the pool.
retained_count: u64Number of native resources currently retained for reuse.
estimated_retained_bytes: u64Estimated bytes represented by currently retained resources.
Trait Implementations§
Source§impl Clone for ResourcePoolStats
impl Clone for ResourcePoolStats
Source§fn clone(&self) -> ResourcePoolStats
fn clone(&self) -> ResourcePoolStats
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 ResourcePoolStats
Source§impl Debug for ResourcePoolStats
impl Debug for ResourcePoolStats
Source§impl Default for ResourcePoolStats
impl Default for ResourcePoolStats
Source§fn default() -> ResourcePoolStats
fn default() -> ResourcePoolStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourcePoolStats
impl<'de> Deserialize<'de> for ResourcePoolStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResourcePoolStats
Source§impl PartialEq for ResourcePoolStats
impl PartialEq for ResourcePoolStats
Source§impl Serialize for ResourcePoolStats
impl Serialize for ResourcePoolStats
impl StructuralPartialEq for ResourcePoolStats
Auto Trait Implementations§
impl Freeze for ResourcePoolStats
impl RefUnwindSafe for ResourcePoolStats
impl Send for ResourcePoolStats
impl Sync for ResourcePoolStats
impl Unpin for ResourcePoolStats
impl UnsafeUnpin for ResourcePoolStats
impl UnwindSafe for ResourcePoolStats
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.