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.
Trait Implementations§
Source§impl<'a> Deref for DisplayModeProperties2KHRBuilder<'a>
impl<'a> Deref for DisplayModeProperties2KHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayModeProperties2KHRBuilder<'a>
impl<'a> RefUnwindSafe for DisplayModeProperties2KHRBuilder<'a>
impl<'a> !Send for DisplayModeProperties2KHRBuilder<'a>
impl<'a> !Sync for DisplayModeProperties2KHRBuilder<'a>
impl<'a> Unpin for DisplayModeProperties2KHRBuilder<'a>
impl<'a> UnwindSafe for DisplayModeProperties2KHRBuilder<'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