#[repr(transparent)]pub struct IndirectCommandsLayoutTokenNVBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn token_type(
self,
token_type: IndirectCommandsTokenTypeNV
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn stream(self, stream: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn offset(self, offset: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn vertex_binding_unit(
self,
vertex_binding_unit: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn vertex_dynamic_stride(
self,
vertex_dynamic_stride: bool
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_pipeline_layout(
self,
pushconstant_pipeline_layout: PipelineLayout
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_shader_stage_flags(
self,
pushconstant_shader_stage_flags: ShaderStageFlags
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_offset(
self,
pushconstant_offset: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_size(
self,
pushconstant_size: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn indirect_state_flags(
self,
indirect_state_flags: IndirectStateFlagsNV
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn index_types(
self,
index_types: &'a [IndexType]
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn index_type_values(
self,
index_type_values: &'a [u32]
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
sourcepub fn build(self) -> IndirectCommandsLayoutTokenNV
pub fn build(self) -> IndirectCommandsLayoutTokenNV
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 IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>
type Target = IndirectCommandsLayoutTokenNV
type Target = IndirectCommandsLayoutTokenNV
The resulting type after dereferencing.
sourcefn deref(&self) -> &<IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
fn deref(&self) -> &<IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> !Send for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> !Sync for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> Unpin for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> UnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'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