pub trait EntityVisitor: Send + Sync {
    fn visit_entity(&self, entity: Entity);
}
Expand description

A visitor for visiting entities in a read-only fashion.

Types implementing this trait are compatible with the accept method on the VisitEntities trait.

Required Methods§

Allows the visitor to visit the specified entity.

This method could potentially be called in parallel.

Implementors§