Trait wgpu_core::hub::HalApi[][src]

pub trait HalApi: Api {
    const VARIANT: Backend;

    fn create_instance_from_hal(
        name: &str,
        hal_instance: Self::Instance
    ) -> Instance;
fn hub<G: GlobalIdentityHandlerFactory>(global: &Global<G>) -> &Hub<Self, G>;
fn get_surface(surface: &Surface) -> &HalSurface<Self>;
fn get_surface_mut(surface: &mut Surface) -> &mut HalSurface<Self>; }

Associated Constants

Required methods

Implementors