[][src]Struct ash::vk::IndirectCommandsLayoutTokenNVBuilder

#[repr(transparent)]pub struct IndirectCommandsLayoutTokenNVBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>[src]

pub fn token_type(
    self,
    token_type: IndirectCommandsTokenTypeNV
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn stream(self, stream: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>[src]

pub fn offset(self, offset: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>[src]

pub fn vertex_binding_unit(
    self,
    vertex_binding_unit: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn vertex_dynamic_stride(
    self,
    vertex_dynamic_stride: bool
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn pushconstant_pipeline_layout(
    self,
    pushconstant_pipeline_layout: PipelineLayout
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn pushconstant_shader_stage_flags(
    self,
    pushconstant_shader_stage_flags: ShaderStageFlags
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn pushconstant_offset(
    self,
    pushconstant_offset: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn pushconstant_size(
    self,
    pushconstant_size: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn indirect_state_flags(
    self,
    indirect_state_flags: IndirectStateFlagsNV
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn index_types(
    self,
    index_types: &'a [IndexType]
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn index_type_values(
    self,
    index_type_values: &'a [u32]
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

pub fn push_next<T: ExtendsIndirectCommandsLayoutTokenNV>(
    self,
    next: &'a mut T
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
[src]

Prepends the given extension struct between the root and the first pointer. This method only exists on structs that can be passed to a function directly. Only valid extension structs can be pushed into the chain. If the chain looks like A -> B -> C, and you call builder.push_next(&mut D), then the chain will look like A -> D -> B -> C.

pub fn build(self) -> IndirectCommandsLayoutTokenNV[src]

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.

Methods from Deref<Target = IndirectCommandsLayoutTokenNV>

Trait Implementations

impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>[src]

type Target = IndirectCommandsLayoutTokenNV

The resulting type after dereferencing.

impl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.