Enum wgpu_hal::ShaderInput[][src]

pub enum ShaderInput<'a> {
    Naga(NagaShader),
    SpirV(&'a [u32]),
}
Expand description

Shader input.

Variants

Naga

Tuple Fields of Naga

0: NagaShader
SpirV

Tuple Fields of SpirV

0: &'a [u32]

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.