Struct rspirv::mr::Loader [] [src]

pub struct Loader { /* fields omitted */ }

The memory representation loader.

Constructs a Module from the module header and instructions.

It implements the Consumer trait and works with the Parser.

Methods

impl Loader
[src]

Creates a new empty loader.

Returns the Module under construction.

Trait Implementations

impl Consumer for Loader
[src]

Intialize the consumer.

Finalize the consumer.

Consume the module header.

Consume the given instruction.