Skip to main content

ResourceAccountingSnapshot

Struct ResourceAccountingSnapshot 

Source
pub struct ResourceAccountingSnapshot { /* private fields */ }
Expand description

Structured framework resource accounting snapshot separating expected_retained from destroyed_owner.live_objects.

Implementations§

Source§

impl ResourceAccountingSnapshot

Source

pub fn get_pages_active(&self) -> usize

Source

pub fn get_mut_pages_active(&mut self) -> &mut usize

Source

pub fn set_pages_active(&mut self, val: usize) -> &mut Self

Source

pub fn get_pages_frozen(&self) -> usize

Source

pub fn get_mut_pages_frozen(&mut self) -> &mut usize

Source

pub fn set_pages_frozen(&mut self, val: usize) -> &mut Self

Source

pub fn get_pages_evicted(&self) -> usize

Source

pub fn get_mut_pages_evicted(&mut self) -> &mut usize

Source

pub fn set_pages_evicted(&mut self, val: usize) -> &mut Self

Source

pub fn get_pages_destroyed(&self) -> u64

Source

pub fn get_mut_pages_destroyed(&mut self) -> &mut u64

Source

pub fn set_pages_destroyed(&mut self, val: u64) -> &mut Self

Source

pub fn get_scene_nodes(&self) -> usize

Source

pub fn get_mut_scene_nodes(&mut self) -> &mut usize

Source

pub fn set_scene_nodes(&mut self, val: usize) -> &mut Self

Source

pub fn get_reactive_effects(&self) -> usize

Source

pub fn get_mut_reactive_effects(&mut self) -> &mut usize

Source

pub fn set_reactive_effects(&mut self, val: usize) -> &mut Self

Source

pub fn get_subscriptions(&self) -> usize

Source

pub fn get_mut_subscriptions(&mut self) -> &mut usize

Source

pub fn set_subscriptions(&mut self, val: usize) -> &mut Self

Source

pub fn get_timers(&self) -> usize

Source

pub fn get_mut_timers(&mut self) -> &mut usize

Source

pub fn set_timers(&mut self, val: usize) -> &mut Self

Source

pub fn get_pending_async_tasks(&self) -> usize

Source

pub fn get_mut_pending_async_tasks(&mut self) -> &mut usize

Source

pub fn set_pending_async_tasks(&mut self, val: usize) -> &mut Self

Source

pub fn get_dynamic_instances(&self) -> usize

Source

pub fn get_mut_dynamic_instances(&mut self) -> &mut usize

Source

pub fn set_dynamic_instances(&mut self, val: usize) -> &mut Self

Source

pub fn get_os_handles(&self) -> usize

Source

pub fn get_mut_os_handles(&mut self) -> &mut usize

Source

pub fn set_os_handles(&mut self, val: usize) -> &mut Self

Source

pub fn get_gpu_textures(&self) -> usize

Source

pub fn get_mut_gpu_textures(&mut self) -> &mut usize

Source

pub fn set_gpu_textures(&mut self, val: usize) -> &mut Self

Source

pub fn get_gpu_buffers(&self) -> usize

Source

pub fn get_mut_gpu_buffers(&mut self) -> &mut usize

Source

pub fn set_gpu_buffers(&mut self, val: usize) -> &mut Self

Source

pub fn get_gpu_live_bytes(&self) -> usize

Source

pub fn get_mut_gpu_live_bytes(&mut self) -> &mut usize

Source

pub fn set_gpu_live_bytes(&mut self, val: usize) -> &mut Self

Source

pub fn get_retained_cache_bytes(&self) -> usize

Source

pub fn get_mut_retained_cache_bytes(&mut self) -> &mut usize

Source

pub fn set_retained_cache_bytes(&mut self, val: usize) -> &mut Self

Source

pub fn get_expected_retained_objects(&self) -> usize

Source

pub fn get_mut_expected_retained_objects(&mut self) -> &mut usize

Source

pub fn set_expected_retained_objects(&mut self, val: usize) -> &mut Self

Source

pub fn get_expected_retained_bytes(&self) -> usize

Source

pub fn get_mut_expected_retained_bytes(&mut self) -> &mut usize

Source

pub fn set_expected_retained_bytes(&mut self, val: usize) -> &mut Self

Source

pub fn get_destroyed_owner_live_objects(&self) -> usize

Source

pub fn get_mut_destroyed_owner_live_objects(&mut self) -> &mut usize

Source

pub fn set_destroyed_owner_live_objects(&mut self, val: usize) -> &mut Self

Source

pub fn get_destroyed_owner_live_bytes(&self) -> usize

Source

pub fn get_mut_destroyed_owner_live_bytes(&mut self) -> &mut usize

Source

pub fn set_destroyed_owner_live_bytes(&mut self, val: usize) -> &mut Self

Source

pub fn get_leaks(&self) -> &Vec<LeakedResourceEntry>

Source

pub fn get_mut_leaks(&mut self) -> &mut Vec<LeakedResourceEntry>

Source

pub fn set_leaks(&mut self, val: Vec<LeakedResourceEntry>) -> &mut Self

Trait Implementations§

Source§

impl Clone for ResourceAccountingSnapshot

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResourceAccountingSnapshot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ResourceAccountingSnapshot

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for ResourceAccountingSnapshot

Source§

impl PartialEq for ResourceAccountingSnapshot

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ResourceAccountingSnapshot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.