pub struct Module { /* private fields */ }
Expand description

Stores the reflection info of a single SPIRV module.

Implementations

Generates reflection info from a given stream of words.

Errors

Returns the Type definition indicated by type_id, or None if type_id is not a type.

pub fn get_entry_points(&self) -> &[EntryPoint]

Returns the EntryPoint definitions contained in the given SPIR-V module

Returns the size of a given StructMember, if known.

Returns the size of a given UniformVariable, PushConstantVariable or LocationVariable, if known.

Trait Implementations

Formats the value using the given formatter. Read more

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.