pub trait WorldMaintenance {
// Required method
fn cleanup_orphan_at(&mut self, location: PageIndex, domain: SemanticDomain);
}Expand description
A trait providing low-level access to the World for maintenance tasks.
This trait should only be used by trusted, engine-internal systems like
a CompactionLane, which need to perform dangerous operations like
cleaning up orphaned data. It is not part of the public API for game logic.
Required Methods§
Sourcefn cleanup_orphan_at(&mut self, location: PageIndex, domain: SemanticDomain)
fn cleanup_orphan_at(&mut self, location: PageIndex, domain: SemanticDomain)
Cleans up an orphaned data slot in a page.