Expand description
Resolver trait and implementations.
Structs§
- Constants
- Numeric constants (WESL feature).
- File
Resolver - A resolver that looks for files in the filesystem.
- NoResolver
- A resolver that never resolves anything.
- Package
Resolver - 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.
- Standard
Resolver - The resolver that implements the WESL standard.
- Virtual
Resolver - A resolver that resolves in-memory modules added with
Self::add_module.
Traits§
- Async
Resolver - Resolve
Fn - Resolver
- A Resolver implements the module resolution algorithm: it returns a module contents associated with a module path.