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

pub struct Loader { /* fields omitted */ }

The data 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]

[src]

Creates a new empty loader.

[src]

Returns the Module under construction.

Trait Implementations

impl Default for Loader
[src]

[src]

Returns the "default value" for a type. Read more

impl Consumer for Loader
[src]

[src]

Intialize the consumer.

[src]

Finalize the consumer.

[src]

Consume the module header.

[src]

Consume the given instruction.