/// The system that updates the window when the rank of the polytope is
/// updated.
The system that updates the window when the rank of the polytope is
updated.
The system that updates the window when the rank of the polytope is updated .
fn update_system(
        mut self_: ResMut<'_, Self>,
        query: Query<'_, '_, (&Concrete, &Handle<Mesh>, &Children), Changed<Concrete>>,
    ) where
        Self: 'static,
    {
        if let Some((poly, _, _)) = query.iter().next() {
            self_.update(poly.dim_or());
        }
    }
fn update_system ( mut self_ : ResMut < ' _ , Self > , query : Query < ' _ , ' _ , ( & Concrete , & Handle < Mesh > , & Children ) , Changed < Concrete > > , ) where Self : ' static , { if let Some ( ( poly , _ , _ ) ) = query . iter ( ) . next ( ) { self_ . update ( poly . dim_or ( ) ) ; } }
The system that updates the window when the rank of the polytope is
updated.
The system that updates the window when the rank of the polytope is updated .
self_
ResMut<'_, Self>
query
Query<'_, '_, (&Concrete, &Handle<Mesh>, &Children), Changed<Concrete>>