Function get_adapter

Source
pub fn get_adapter(
    instance: &Instance,
    surface: Option<&Surface<'_>>,
) -> Adapter