Trait specs_visitor::EntityVisitorMut
source · pub trait EntityVisitorMut: Send + Sync {
fn visit_entity_mut(&self, entity: &mut Entity);
}
Expand description
A visitor for visiting entities mutably.
Types implementing this trait are compatible with the accept_mut
method on the
VisitEntitiesMut
trait.
Required Methods§
sourcefn visit_entity_mut(&self, entity: &mut Entity)
fn visit_entity_mut(&self, entity: &mut Entity)
Allows the visitor to visit the specified entity mutably.
This method could potentially be called in parallel.