Skip to main content

MemoryLoaderSources

Type Alias MemoryLoaderSources 

Source
pub type MemoryLoaderSources<S, C> = Vec<(S, Source<S, C>)>;
Expand description

In-memory sources passed to MemoryLoader::new.

Each tuple maps a requested specifier to the Source returned by the loader. The requested specifier is the lookup key, while Source::Module can contain the final specifier after any redirect-like behavior.

Aliased Typeยง

pub struct MemoryLoaderSources<S, C> { /* private fields */ }