Struct gfx_backend_empty::Instance [−][src]
pub struct Instance;
Trait Implementations
Create a new instance. Read more
Return all available graphics adapters.
unsafe fn create_surface(
&self,
raw_window_handle: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
unsafe fn create_surface(
&self,
raw_window_handle: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
Destroy a surface, freeing the resources associated with it and releasing it from this graphics API. Read more
unsafe fn create_display_plane_surface(
&self,
_display_plane: &DisplayPlane<'_, Backend>,
_plane_stack_index: u32,
_transformation: SurfaceTransform,
_alpha: DisplayPlaneAlpha,
_image_extent: Extent2D
) -> Result<Surface, DisplayPlaneSurfaceError>
unsafe fn create_display_plane_surface(
&self,
_display_plane: &DisplayPlane<'_, Backend>,
_plane_stack_index: u32,
_transformation: SurfaceTransform,
_alpha: DisplayPlaneAlpha,
_image_extent: Extent2D
) -> Result<Surface, DisplayPlaneSurfaceError>
Create a new surface from a display plane. Read more
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl UnwindSafe for Instance