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