pub(crate) fn sync(&self) -> Result<(), Error> {
        self.wayland
            .queue
            .borrow_mut()
            .sync_roundtrip(&mut (), |evt, _, _| {
                panic!("unexpected wayland event: {:?}", evt)
            })
            .map_err(Error::fatal)?;
        Ok(())
    }
/// Send all pending messages and process all received messages.
///
/// Don't use this once the event loop has started.
Send all pending messages and process all received messages.
Don't use this once the event loop has started.
Send all pending messages and process all received messages . Don ' t use this once the event loop has started .
pub(crate) fn sync(&self) -> Result<(), Error> {
        self.wayland
            .queue
            .borrow_mut()
            .sync_roundtrip(&mut (), |evt, _, _| {
                panic!("unexpected wayland event: {:?}", evt)
            })
            .map_err(Error::fatal)?;
        Ok(())
    }
pub ( crate ) fn sync ( & self ) -> Result < ( ) , Error > { self . wayland . queue . borrow_mut ( ) . sync_roundtrip ( & mut ( ) , | evt , _ , _ | { panic ! ( " " evt ) } ) . map_err ( Error :: fatal ) ? ; Ok ( ( ) ) }
Send all pending messages and process all received messages.
Send all pending messages and process all received messages .
&self
&self