Struct ash::vk::DisplayPowerInfoEXTBuilder
source · [−]#[repr(transparent)]pub struct DisplayPowerInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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.
Trait Implementations
sourceimpl<'a> Deref for DisplayPowerInfoEXTBuilder<'a>
impl<'a> Deref for DisplayPowerInfoEXTBuilder<'a>
type Target = DisplayPowerInfoEXT
type Target = DisplayPowerInfoEXT
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DisplayPowerInfoEXTBuilder<'a>
impl<'a> !Send for DisplayPowerInfoEXTBuilder<'a>
impl<'a> !Sync for DisplayPowerInfoEXTBuilder<'a>
impl<'a> Unpin for DisplayPowerInfoEXTBuilder<'a>
impl<'a> UnwindSafe for DisplayPowerInfoEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more