#[repr(C)]pub struct MemoryReport {Show 16 fields
pub clip_stores: usize,
pub gpu_cache_metadata: usize,
pub gpu_cache_cpu_mirror: usize,
pub render_tasks: usize,
pub hit_testers: usize,
pub fonts: usize,
pub images: usize,
pub rasterized_blobs: usize,
pub shader_cache: usize,
pub interning: InterningMemoryReport,
pub gpu_cache_textures: usize,
pub vertex_data_textures: usize,
pub render_target_textures: usize,
pub texture_cache_textures: usize,
pub depth_target_textures: usize,
pub swap_chain: usize,
}
Expand description
Collection of heap sizes, in bytes. cbindgen:derive-eq=false
Fields§
§clip_stores: usize
§gpu_cache_metadata: usize
§gpu_cache_cpu_mirror: usize
§render_tasks: usize
§hit_testers: usize
§fonts: usize
§images: usize
§rasterized_blobs: usize
§shader_cache: usize
§interning: InterningMemoryReport
§gpu_cache_textures: usize
§vertex_data_textures: usize
§render_target_textures: usize
§texture_cache_textures: usize
§depth_target_textures: usize
§swap_chain: usize
Trait Implementations§
Source§impl AddAssign for MemoryReport
impl AddAssign for MemoryReport
Source§fn add_assign(&mut self, rhs: MemoryReport)
fn add_assign(&mut self, rhs: MemoryReport)
Performs the
+=
operation. Read moreSource§impl Clone for MemoryReport
impl Clone for MemoryReport
Source§fn clone(&self) -> MemoryReport
fn clone(&self) -> MemoryReport
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MemoryReport
impl Debug for MemoryReport
Source§impl Default for MemoryReport
impl Default for MemoryReport
Source§fn default() -> MemoryReport
fn default() -> MemoryReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryReport
impl<'de> Deserialize<'de> for MemoryReport
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
Auto Trait Implementations§
impl Freeze for MemoryReport
impl RefUnwindSafe for MemoryReport
impl Send for MemoryReport
impl Sync for MemoryReport
impl Unpin for MemoryReport
impl UnwindSafe for MemoryReport
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