#[repr(transparent)]pub struct IndirectCommandsLayoutTokenNVBuilder<'b> { /* private fields */ }
Expand description
A builder for a IndirectCommandsLayoutTokenNV
.
Implementations§
source§impl<'b> IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> IndirectCommandsLayoutTokenNVBuilder<'b>
pub fn token_type(self, token_type: IndirectCommandsTokenTypeNV) -> Self
pub fn stream(self, stream: u32) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn vertex_binding_unit(self, vertex_binding_unit: u32) -> Self
pub fn vertex_dynamic_stride(self, vertex_dynamic_stride: bool) -> Self
pub fn pushconstant_pipeline_layout( self, pushconstant_pipeline_layout: PipelineLayout ) -> Self
pub fn pushconstant_shader_stage_flags( self, pushconstant_shader_stage_flags: ShaderStageFlags ) -> Self
pub fn pushconstant_offset(self, pushconstant_offset: u32) -> Self
pub fn pushconstant_size(self, pushconstant_size: u32) -> Self
pub fn indirect_state_flags( self, indirect_state_flags: IndirectStateFlagsNV ) -> Self
pub fn index_types(self, index_types: &'b [IndexType]) -> Self
pub fn index_type_values(self, index_type_values: &'b [u32]) -> Self
pub fn build(self) -> IndirectCommandsLayoutTokenNV
Trait Implementations§
source§impl<'b> Cast for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Cast for IndirectCommandsLayoutTokenNVBuilder<'b>
§type Target = IndirectCommandsLayoutTokenNV
type Target = IndirectCommandsLayoutTokenNV
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Clone for IndirectCommandsLayoutTokenNVBuilder<'b>
source§fn clone(&self) -> IndirectCommandsLayoutTokenNVBuilder<'b>
fn clone(&self) -> IndirectCommandsLayoutTokenNVBuilder<'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'b> Debug for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Debug for IndirectCommandsLayoutTokenNVBuilder<'b>
source§impl<'b> Default for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Default for IndirectCommandsLayoutTokenNVBuilder<'b>
source§fn default() -> IndirectCommandsLayoutTokenNVBuilder<'b>
fn default() -> IndirectCommandsLayoutTokenNVBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Deref for IndirectCommandsLayoutTokenNVBuilder<'b>
source§impl<'b> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Copy for IndirectCommandsLayoutTokenNVBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> !Send for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> !Sync for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> Unpin for IndirectCommandsLayoutTokenNVBuilder<'b>
impl<'b> UnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'b>
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