pub trait ObjectEnumerator {
    // Required methods
    fn visit_object(&mut self, object: ObjectReference);
    fn visit_address_range(&mut self, start: Address, end: Address);
}
Expand description

A trait for enumerating objects in spaces, used by Space::enumerate_objects.

Required Methods§

source

fn visit_object(&mut self, object: ObjectReference)

Visit a single object.

source

fn visit_address_range(&mut self, start: Address, end: Address)

Visit an address range that may contain objects.

Implementors§