pub struct MemorySample {
pub js_heap: u64,
pub js_objects: u64,
pub nodes: u64,
pub node_ids: u64,
}Expand description
What the app holds, as the engine read it after its last idle collection.
Fields§
§js_heap: u64Bytes the JS heap holds (0 without a JS runtime).
js_objects: u64Live JS objects.
nodes: u64Nodes alive in the core, the root included.
node_ids: u64The node ids the core’s id table has room for: far above nodes
when the ids of nodes that are gone still take room.
Trait Implementations§
Source§impl Clone for MemorySample
impl Clone for MemorySample
impl Copy for MemorySample
Source§impl Debug for MemorySample
impl Debug for MemorySample
Source§impl Default for MemorySample
impl Default for MemorySample
impl Eq for MemorySample
Source§impl PartialEq for MemorySample
impl PartialEq for MemorySample
impl StructuralPartialEq for MemorySample
Auto Trait Implementations§
impl Forget for MemorySample
impl Freeze for MemorySample
impl Move for MemorySample
impl RefUnwindSafe for MemorySample
impl Send for MemorySample
impl Sync for MemorySample
impl Unpin for MemorySample
impl UnsafeUnpin for MemorySample
impl UnwindSafe for MemorySample
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.