Struct ash::vk::IndirectCommandsLayoutTokenNVBuilder
source · [−]#[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) -> 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: &'a [IndexType]) -> Self
pub fn index_type_values(self, index_type_values: &'a [u32]) -> Self
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.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more