pub struct ViSurfaceCreateInfoNNBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> ViSurfaceCreateInfoNNBuilder<'a>
pub fn flags(self, flags: ViSurfaceCreateFlagsNN) -> Self
pub fn window(self, window: *mut c_void) -> Self
Sourcepub fn build(self) -> ViSurfaceCreateInfoNN
pub fn build(self) -> ViSurfaceCreateInfoNN
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 ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> Deref for ViSurfaceCreateInfoNNBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> RefUnwindSafe for ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> !Send for ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> !Sync for ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> Unpin for ViSurfaceCreateInfoNNBuilder<'a>
impl<'a> UnwindSafe for ViSurfaceCreateInfoNNBuilder<'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