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.

Returns all uniform variables declared in the given SPIR-V module.

Returns all push-constant variables declared in the given SPIR-V module.

Calculates the size of a primitive type or Struct.

Returns

The size of the type indicated by type_id or None if the size of the given type is not 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.