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]

Creates a new empty loader.

Returns the Module under construction.

Trait Implementations

impl Default for Loader
[src]

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

impl Consumer for Loader
[src]

Intialize the consumer.

Finalize the consumer.

Consume the module header.

Consume the given instruction.

Auto Trait Implementations

impl Send for Loader

impl Sync for Loader