Struct ash::vk::ViSurfaceCreateInfoNNBuilder
source · 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> 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