Trait SurfaceCreateInfo

Source
pub trait SurfaceCreateInfo {
    // Required method
    unsafe fn execute(
        &self,
        instance: &(impl VkHandle<Handle = VkInstance> + ?Sized),
        allocation_callbacks: Option<&VkAllocationCallbacks>,
    ) -> Result<VkSurfaceKHR>;
}

Required Methods§

Source

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§

Source§

impl SurfaceCreateInfo for AndroidSurfaceCreateInfo

Available on crate feature VK_KHR_android_surface only.
Source§

impl SurfaceCreateInfo for MetalSurfaceCreateInfo

Available on crate feature VK_EXT_metal_surface only.
Source§

impl SurfaceCreateInfo for WaylandSurfaceCreateInfo

Available on crate feature VK_KHR_wayland_surface only.
Source§

impl SurfaceCreateInfo for XcbSurfaceCreateInfo

Available on crate feature VK_KHR_xcb_surface only.
Source§

impl SurfaceCreateInfo for XlibSurfaceCreateInfo

Available on crate feature VK_KHR_xlib_surface only.