Struct ash::vk::Win32SurfaceCreateInfoKHRBuilder
source · #[repr(transparent)]pub struct Win32SurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> Win32SurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: Win32SurfaceCreateFlagsKHR) -> Self
pub fn hinstance(self, hinstance: HINSTANCE) -> Self
pub fn hwnd(self, hwnd: HWND) -> Self
sourcepub fn build(self) -> Win32SurfaceCreateInfoKHR
pub fn build(self) -> Win32SurfaceCreateInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.