fn suspend(&mut self) {
        // debug!("suspend");
        let target_win = self.find_window(AppWindow::RegionSelectorCanvasWindow).unwrap();
        target_win.set_visible(false);
        self.capture_device.stop_capture();
    }
///
/// Back the capture canvas when finished
Back the capture canvas when finished
Back the capture canvas when finished
fn suspend(&mut self) {
        // debug!("suspend");
        let target_win = self.find_window(AppWindow::RegionSelectorCanvasWindow).unwrap();
        target_win.set_visible(false);
        self.capture_device.stop_capture();
    }
fn suspend ( & mut self ) { // debug!("suspend"); let target_win = self . find_window ( AppWindow :: RegionSelectorCanvasWindow ) . unwrap ( ) ; target_win . set_visible ( false ) ; self . capture_device . stop_capture ( ) ; }
Back the capture canvas when finished
Back the capture canvas when finished
&mut self
&mut self