pub fn receive_requests(&mut self) {
        let mut requests = vec![];
        for request in self.requests.try_iter() {
            requests.push(request);
        }

        for request in requests {
            match request {
                ShellRequest::CreateWindow(adapter, settings, window_requests) => {
                    self.create_window_from_settings(settings, adapter)
                        .request_receiver(window_requests)
                        .build();
                }
                _ => {}
            }
        }
    }
/// Receives window request from the application and handles them.
Receives window request from the application and handles them.
Receives window request from the application and handles them .
pub fn receive_requests(&mut self) {
        let mut requests = vec![];
        for request in self.requests.try_iter() {
            requests.push(request);
        }
        for request in requests {
            match request {
                ShellRequest::CreateWindow(adapter, settings, window_requests) => {
                    self.create_window_from_settings(settings, adapter)
                        .request_receiver(window_requests)
                        .build();
                }
                _ => {}
            }
        }
    }
pub fn receive_requests ( & mut self ) { let mut requests = vec ! [ ] ; for request in self . requests . try_iter ( ) { requests . push ( request ) ; } for request in requests { match request { ShellRequest :: CreateWindow ( adapter , settings , window_requests ) => { self . create_window_from_settings ( settings , adapter ) . request_receiver ( window_requests ) . build ( ) ; } _ => { } } } }
Receives window request from the application and handles them.
Receives window request from the application and handles them .
&mut self