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