Struct rspirv::dr::Loader[][src]

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

The data representation loader.

Constructs a Module from the module header and instructions.

It implements the Consumer trait and works with the Parser.

Implementations

Creates a new empty loader.

Returns the Module under construction.

Trait Implementations

Intialize the consumer.

Finalize the consumer.

Consume the module header.

Consume the given instruction.

Returns the “default value” for a type. 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.