TotalMemory

Trait TotalMemory 

Source
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§

Source

fn total_memory(&self) -> usize

Total amount of memory in bytes.

Source

fn stack_memory(&self) -> usize

Get amount of stack memory in bytes.

Source

fn heap_memory(&self) -> usize

Get amount of heap memory in bytes.

Implementations on Foreign Types§

Source§

impl TotalMemory for Rc<Manifold>

Source§

impl TotalMemory for MultiPolygon

Source§

impl<T> TotalMemory for Vec<T>

Implementors§