LogicalMemoryVisitor

Trait LogicalMemoryVisitor 

Source
pub trait LogicalMemoryVisitor {
    // Required method
    fn visit_leaf(&mut self, path: &Path, bytes: usize);
}
Expand description

Visitor for logical memory leaf nodes.

Required Methods§

Source

fn visit_leaf(&mut self, path: &Path, bytes: usize)

Callback for a single “leaf node” (logical memory chunk).

§Arguments
  • path: Logical path (e.g., &Path::new("Instance").with("objective").with("terms"))
  • bytes: Bytes used by this node

Implementors§