Struct rune::Sources[][src]

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

A collection of source files, and a queue of things to compile.

Implementations

Construct a new collection of sources.

Get the source at the given source id.

👎 Deprecated:

use insert instead

Insert a source to be built and return its id.

Insert a source to be built and return its id.

Get the source matching the given source id.

Trait Implementations

Formats the value using the given formatter. Read more

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.