pub trait TotalMemory {
// Provided methods
fn total_memory(&self) -> usize { ... }
fn stack_memory(&self) -> usize { ... }
fn heap_memory(&self) -> usize { ... }
}Expand description
Return total amount of memory in bytes.
Provided Methods§
Sourcefn total_memory(&self) -> usize
fn total_memory(&self) -> usize
Total amount of memory in bytes.
Sourcefn stack_memory(&self) -> usize
fn stack_memory(&self) -> usize
Get amount of stack memory in bytes.
Sourcefn heap_memory(&self) -> usize
fn heap_memory(&self) -> usize
Get amount of heap memory in bytes.