pub struct MemorySnapshot {
pub ui_nodes: usize,
pub layout_nodes: usize,
pub ui_index_bytes: usize,
pub layout_metadata_bytes: usize,
pub layout_cache_bytes: usize,
pub layout_geometry_bytes: usize,
pub layout_output_bytes: usize,
pub paint_command_bytes: usize,
}Expand description
Known allocated capacities, sampled independently from the frame history. These are allocator payload sizes, not resident pages; do not subtract them from RSS or include them again in a combined process/GPU total.
Fields§
§ui_nodes: usize§layout_nodes: usize§ui_index_bytes: usize§layout_metadata_bytes: usize§layout_cache_bytes: usize§layout_geometry_bytes: usize§layout_output_bytes: usize§paint_command_bytes: usizeTrait Implementations§
Source§impl Clone for MemorySnapshot
impl Clone for MemorySnapshot
Source§fn clone(&self) -> MemorySnapshot
fn clone(&self) -> MemorySnapshot
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 MemorySnapshot
Source§impl Debug for MemorySnapshot
impl Debug for MemorySnapshot
Source§impl Default for MemorySnapshot
impl Default for MemorySnapshot
Source§fn default() -> MemorySnapshot
fn default() -> MemorySnapshot
Returns the “default value” for a type. Read more
impl Eq for MemorySnapshot
Source§impl PartialEq for MemorySnapshot
impl PartialEq for MemorySnapshot
impl StructuralPartialEq for MemorySnapshot
Auto Trait Implementations§
impl Freeze for MemorySnapshot
impl RefUnwindSafe for MemorySnapshot
impl Send for MemorySnapshot
impl Sync for MemorySnapshot
impl Unpin for MemorySnapshot
impl UnsafeUnpin for MemorySnapshot
impl UnwindSafe for MemorySnapshot
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