pub fn refresh_toplevel(&mut self, toplevel: &Kind) {
        if let Some(w) = self.windows.iter_mut().find(|w| &w.toplevel == toplevel) {
            w.self_update();
        }
    }
/// Refreshes the state of the toplevel, if it exists.
Refreshes the state of the toplevel, if it exists.
Refreshes the state of the toplevel if it exists .
pub fn refresh_toplevel(&mut self, toplevel: &Kind) {
        if let Some(w) = self.windows.iter_mut().find(|w| &w.toplevel == toplevel) {
            w.self_update();
        }
    }
pub fn refresh_toplevel ( & mut self , toplevel : & Kind ) { if let Some ( w ) = self . windows . iter_mut ( ) . find ( | w | & w . toplevel == toplevel ) { w . self_update ( ) ; } }
Refreshes the state of the toplevel, if it exists.
Refreshes the state of the toplevel if it exists .
&mut self
toplevel
&Kind
&mut self
toplevel
&Kind