Struct ash::vk::XlibSurfaceCreateInfoKHRBuilder
source · #[repr(transparent)]pub struct XlibSurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> XlibSurfaceCreateInfoKHRBuilder<'a>
impl<'a> XlibSurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: XlibSurfaceCreateFlagsKHR) -> Self
pub fn dpy(self, dpy: *mut Display) -> Self
pub fn window(self, window: Window) -> Self
sourcepub fn build(self) -> XlibSurfaceCreateInfoKHR
pub fn build(self) -> XlibSurfaceCreateInfoKHR
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.