pub(crate) fn with_mesh_source<R>( world: &World, source_entity: Entity, f: impl FnOnce(&mut MeshSource, &Scope<'_>) -> R, ) -> R
Run f with the mesh source mounted at source_entity, borrowing both at once.