Skip to main content

LiveVisitor

Type Alias LiveVisitor 

Source
pub type LiveVisitor<'f> = dyn FnMut(&dyn Any) + 'f;
Expand description

The visitor Heap::for_each_live drives: one &dyn Any per live box, which the caller downcasts to whatever it recognises.