pub trait Instance<A: Api>: Sized + Send + Sync {
    unsafe fn init(desc: &InstanceDescriptor<'_>) -> Result<Self, InstanceError>;
    unsafe fn create_surface(
        &self,
        rwh: &impl HasRawWindowHandle
    ) -> Result<A::Surface, InstanceError>; unsafe fn destroy_surface(&self, surface: A::Surface); unsafe fn enumerate_adapters(&self) -> Vec<ExposedAdapter<A>>; }

Required Methods

Implementors