Struct ash::vk::XcbSurfaceCreateInfoKHRBuilder
source · #[repr(transparent)]pub struct XcbSurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> XcbSurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: XcbSurfaceCreateFlagsKHR) -> Self
pub fn connection(self, connection: *mut xcb_connection_t) -> Self
pub fn window(self, window: xcb_window_t) -> Self
sourcepub fn build(self) -> XcbSurfaceCreateInfoKHR
pub fn build(self) -> XcbSurfaceCreateInfoKHR
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.