Struct spirv_layout::Module[][src]

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

Stores the reflection info of a single SPIRV module.

Implementations

Generates reflection info from a given stream of words.

Errors

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.