Struct ash::vk::SurfaceFormatKHRBuilder
source · #[repr(transparent)]pub struct SurfaceFormatKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SurfaceFormatKHRBuilder<'a>
impl<'a> SurfaceFormatKHRBuilder<'a>
pub fn format(self, format: Format) -> Self
pub fn color_space(self, color_space: ColorSpaceKHR) -> Self
sourcepub fn build(self) -> SurfaceFormatKHR
pub fn build(self) -> SurfaceFormatKHR
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.