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) -> Self
pub fn stream(self, value: u32) -> Self
pub fn offset(self, value: u32) -> Self
pub fn vertex_binding_unit(self, value: u32) -> Self
pub fn vertex_dynamic_stride(self, value: bool) -> Self
pub fn pushconstant_pipeline_layout(self, value: PipelineLayout) -> Self
pub fn pushconstant_shader_stage_flags(self, value: ShaderStageFlags) -> Self
pub fn pushconstant_offset(self, value: u32) -> Self
pub fn pushconstant_size(self, value: u32) -> Self
pub fn indirect_state_flags(self, value: IndirectStateFlagsNV) -> Self
pub fn index_types(self, slice: &'a [IndexType]) -> Self
pub fn index_type_values(self, slice: &'a [u32]) -> Self
Sourcepub fn push_next<T: ExtendsIndirectCommandsLayoutTokenNV>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsIndirectCommandsLayoutTokenNV>( self, next: &'a mut T, ) -> Self
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>
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