Skip to main content

request_adapter

Function request_adapter 

Source
async fn request_adapter(
    instance: &Instance,
    surface: Option<&Surface<'static>>,
) -> Result<Adapter, Box<dyn Error + Send + Sync>>
Expand description

Ask instance for a high-performance adapter that can present to surface, when one is given.