pub enum ResourceOwnerKind {
GlobalRuntime,
Page,
DynamicModule,
Surface,
MediaSession,
RenderCache,
}Expand description
Coarse ownership domain responsible for the lifecycle of a tracked framework resource.
Variants§
GlobalRuntime
Process-wide singleton runtime infrastructure.
Page
Routed page instance identified by (page_id, generation).
DynamicModule
Dynamically loaded WASM/OTA module instance.
Surface
OS window surface generation.
MediaSession
Active audio/video media playback or decoder session.
RenderCache
Bounded framework cache (glyph atlas, shaping cache, tile pool).
Trait Implementations§
Source§impl Clone for ResourceOwnerKind
impl Clone for ResourceOwnerKind
impl Copy for ResourceOwnerKind
Source§impl Debug for ResourceOwnerKind
impl Debug for ResourceOwnerKind
Source§impl Default for ResourceOwnerKind
impl Default for ResourceOwnerKind
impl Eq for ResourceOwnerKind
Source§impl Hash for ResourceOwnerKind
impl Hash for ResourceOwnerKind
Source§impl Ord for ResourceOwnerKind
impl Ord for ResourceOwnerKind
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 ResourceOwnerKind
impl PartialEq for ResourceOwnerKind
Source§impl PartialOrd for ResourceOwnerKind
impl PartialOrd for ResourceOwnerKind
impl StructuralPartialEq for ResourceOwnerKind
Auto Trait Implementations§
impl Forget for ResourceOwnerKind
impl Freeze for ResourceOwnerKind
impl Move for ResourceOwnerKind
impl RefUnwindSafe for ResourceOwnerKind
impl Send for ResourceOwnerKind
impl Sync for ResourceOwnerKind
impl Unpin for ResourceOwnerKind
impl UnsafeUnpin for ResourceOwnerKind
impl UnwindSafe for ResourceOwnerKind
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