pub struct Win32SurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> Win32SurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: Win32SurfaceCreateFlagsKHR) -> Self
pub fn hinstance(self, hinstance: HINSTANCE) -> Self
pub fn hwnd(self, hwnd: HWND) -> Self
Sourcepub fn build(self) -> Win32SurfaceCreateInfoKHR
pub fn build(self) -> Win32SurfaceCreateInfoKHR
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 Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> Deref for Win32SurfaceCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Send for Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Sync for Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> Unpin for Win32SurfaceCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for Win32SurfaceCreateInfoKHRBuilder<'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