Skip to main content

Module resolver

Module resolver 

Source
Expand description

Resolver trait and implementations.

Structs§

Constants
Numeric constants (WESL feature).
FileResolver
A resolver that looks for files in the filesystem.
NoResolver
A resolver that never resolves anything.
PackageResolver
A resolver that only resolves module paths that refer to modules in external packages.
Router
A resolver that can dispatch imports to several sub-resolvers based on the import path prefix.
StandardResolver
The resolver that implements the WESL standard.
VirtualResolver
A resolver that resolves in-memory modules added with Self::add_module.

Traits§

AsyncResolver
ResolveFn
Resolver
A Resolver implements the module resolution algorithm: it returns a module contents associated with a module path.