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> Freeze for DisplayModeCreateInfoKHRBuilder<'a>
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