#[repr(transparent)]pub struct IndirectCommandsLayoutCreateInfoNVBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> IndirectCommandsLayoutCreateInfoNVBuilder<'a>
pub fn flags(
self,
flags: IndirectCommandsLayoutUsageFlagsNV
) -> IndirectCommandsLayoutCreateInfoNVBuilder<'a>
pub fn pipeline_bind_point(
self,
pipeline_bind_point: PipelineBindPoint
) -> IndirectCommandsLayoutCreateInfoNVBuilder<'a>
pub fn tokens(
self,
tokens: &'a [IndirectCommandsLayoutTokenNV]
) -> IndirectCommandsLayoutCreateInfoNVBuilder<'a>
pub fn stream_strides(
self,
stream_strides: &'a [u32]
) -> IndirectCommandsLayoutCreateInfoNVBuilder<'a>
sourcepub fn build(self) -> IndirectCommandsLayoutCreateInfoNV
pub fn build(self) -> IndirectCommandsLayoutCreateInfoNV
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
sourceimpl<'a> Deref for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> Deref for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
type Target = IndirectCommandsLayoutCreateInfoNV
type Target = IndirectCommandsLayoutCreateInfoNV
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<IndirectCommandsLayoutCreateInfoNVBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<IndirectCommandsLayoutCreateInfoNVBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> DerefMut for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <IndirectCommandsLayoutCreateInfoNVBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <IndirectCommandsLayoutCreateInfoNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> !Send for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> !Sync for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> Unpin for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
impl<'a> UnwindSafe for IndirectCommandsLayoutCreateInfoNVBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more