Struct ash::vk::DisplayModeCreateInfoKHRBuilder
source · pub struct DisplayModeCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DisplayModeCreateInfoKHRBuilder<'a>
impl<'a> DisplayModeCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: DisplayModeCreateFlagsKHR) -> Self
pub fn parameters(self, parameters: DisplayModeParametersKHR) -> Self
sourcepub fn build(self) -> DisplayModeCreateInfoKHR
pub fn build(self) -> DisplayModeCreateInfoKHR
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§
source§impl<'a> Deref for DisplayModeCreateInfoKHRBuilder<'a>
impl<'a> Deref for DisplayModeCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DisplayModeCreateInfoKHRBuilder<'a>
impl<'a> !Send for DisplayModeCreateInfoKHRBuilder<'a>
impl<'a> !Sync for DisplayModeCreateInfoKHRBuilder<'a>
impl<'a> Unpin for DisplayModeCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for DisplayModeCreateInfoKHRBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more