pub struct IndirectCommandsLayoutTokenNVBuilder<'a> { /* private fields */ }Expand description
Builder for IndirectCommandsLayoutTokenNV with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn token_type( self, value: IndirectCommandsTokenTypeNV, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn stream(self, value: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn offset(self, value: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn vertex_binding_unit( self, value: u32, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn vertex_dynamic_stride( self, value: bool, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_pipeline_layout( self, value: PipelineLayout, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_shader_stage_flags( self, value: ShaderStageFlagBits, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_offset( self, value: u32, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_size( self, value: u32, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn indirect_state_flags( self, value: IndirectStateFlagBitsNV, ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn index_types( self, slice: &'a [IndexType], ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn index_type_values( self, slice: &'a [u32], ) -> IndirectCommandsLayoutTokenNVBuilder<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> IndirectCommandsLayoutTokenNVBuilder<'a>where
T: ExtendsIndirectCommandsLayoutTokenNV,
pub fn push_next<T>(
self,
next: &'a mut T,
) -> IndirectCommandsLayoutTokenNVBuilder<'a>where
T: ExtendsIndirectCommandsLayoutTokenNV,
Prepend a struct to the pNext chain. See IndirectCommandsLayoutTokenNV’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>
Source§type Target = IndirectCommandsLayoutTokenNV
type Target = IndirectCommandsLayoutTokenNV
The resulting type after dereferencing.
Source§impl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndirectCommandsLayoutTokenNVBuilder<'a>
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> UnsafeUnpin for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> UnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'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