fn show_system(
        mut self_: ResMut<'_, Self>,
        egui_ctx: Res<'_, EguiContext>,
        mut query: Query<'_, '_, &mut Concrete>,
        memory: Res<'_, Memory>,
    ) where
        Self: 'static,
    {
        match self_.show(egui_ctx.ctx(), &memory) {
            ShowResult::Ok => {
                for mut polytope in query.iter_mut() {
                    self_.action(polytope.as_mut());
                }
                self_.close()
            }
            ShowResult::Close => self_.close(),
            ShowResult::Reset => self_.reset(),
            ShowResult::None => {}
        }
    }
/// The system that shows the window.
The system that shows the window.
The system that shows the window .
fn show_system(
        mut self_: ResMut<'_, Self>,
        egui_ctx: Res<'_, EguiContext>,
        mut query: Query<'_, '_, &mut Concrete>,
        memory: Res<'_, Memory>,
    ) where
        Self: 'static,
    {
        match self_.show(egui_ctx.ctx(), &memory) {
            ShowResult::Ok => {
                for mut polytope in query.iter_mut() {
                    self_.action(polytope.as_mut());
                }
                self_.close()
            }
            ShowResult::Close => self_.close(),
            ShowResult::Reset => self_.reset(),
            ShowResult::None => {}
        }
    }
fn show_system ( mut self_ : ResMut < ' _ , Self > , egui_ctx : Res < ' _ , EguiContext > , mut query : Query < ' _ , ' _ , & mut Concrete > , memory : Res < ' _ , Memory > , ) where Self : ' static , { match self_ . show ( egui_ctx . ctx ( ) , & memory ) { ShowResult :: Ok => { for mut polytope in query . iter_mut ( ) { self_ . action ( polytope . as_mut ( ) ) ; } self_ . close ( ) } ShowResult :: Close => self_ . close ( ) , ShowResult :: Reset => self_ . reset ( ) , ShowResult :: None => { } } }
The system that shows the window.
The system that shows the window .
self_
ResMut<'_, Self>
egui_ctx
Res<'_, EguiContext>
query
Query<'_, '_, &mut Concrete>
memory
Res<'_, Memory>