pub trait SurfaceCreateInfo {
// Required method
unsafe fn execute(
&self,
instance: &(impl VkHandle<Handle = VkInstance> + ?Sized),
allocation_callbacks: Option<&VkAllocationCallbacks>,
) -> Result<VkSurfaceKHR>;
}
Required Methods§
unsafe fn execute( &self, instance: &(impl VkHandle<Handle = VkInstance> + ?Sized), allocation_callbacks: Option<&VkAllocationCallbacks>, ) -> Result<VkSurfaceKHR>
Available on crate feature
Implements
only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl SurfaceCreateInfo for AndroidSurfaceCreateInfo
Available on crate feature
VK_KHR_android_surface
only.impl SurfaceCreateInfo for MetalSurfaceCreateInfo
Available on crate feature
VK_EXT_metal_surface
only.impl SurfaceCreateInfo for WaylandSurfaceCreateInfo
Available on crate feature
VK_KHR_wayland_surface
only.impl SurfaceCreateInfo for XcbSurfaceCreateInfo
Available on crate feature
VK_KHR_xcb_surface
only.impl SurfaceCreateInfo for XlibSurfaceCreateInfo
Available on crate feature
VK_KHR_xlib_surface
only.