pub enum TrackedResourceKind {
SceneNode,
ReactiveEffect,
Subscription,
Timer,
AsyncTask,
DynamicInstance,
OsHandle,
GpuTexture,
GpuBuffer,
CacheAllocation,
}Expand description
Framework resource category tracked by ResourceAccountant.
Variants§
SceneNode
Retained UI scene graph node.
ReactiveEffect
Reactive effect closure bound to a scope.
Subscription
Event or signal subscription handle.
Timer
Scheduled timer or animation ticker.
AsyncTask
In-flight asynchronous task or callback.
DynamicInstance
Dynamically loaded component/page module instance.
OsHandle
Native OS window, surface, font, or platform handle.
GpuTexture
GPU texture allocation (atlas, image, or persistent tile layer).
GpuBuffer
GPU vertex, index, uniform, or staging buffer allocation.
CacheAllocation
Bounded CPU or GPU cache allocation.
Trait Implementations§
Source§impl Clone for TrackedResourceKind
impl Clone for TrackedResourceKind
impl Copy for TrackedResourceKind
Source§impl Debug for TrackedResourceKind
impl Debug for TrackedResourceKind
Source§impl Default for TrackedResourceKind
impl Default for TrackedResourceKind
impl Eq for TrackedResourceKind
Source§impl Hash for TrackedResourceKind
impl Hash for TrackedResourceKind
Source§impl Ord for TrackedResourceKind
impl Ord for TrackedResourceKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TrackedResourceKind
impl PartialEq for TrackedResourceKind
Source§impl PartialOrd for TrackedResourceKind
impl PartialOrd for TrackedResourceKind
impl StructuralPartialEq for TrackedResourceKind
Auto Trait Implementations§
impl Forget for TrackedResourceKind
impl Freeze for TrackedResourceKind
impl Move for TrackedResourceKind
impl RefUnwindSafe for TrackedResourceKind
impl Send for TrackedResourceKind
impl Sync for TrackedResourceKind
impl Unpin for TrackedResourceKind
impl UnsafeUnpin for TrackedResourceKind
impl UnwindSafe for TrackedResourceKind
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