Trait ModuleReference

Source
pub trait ModuleReference:
    ValueToString
    + Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn resolve_reference(self: Vc<Self>) -> Vc<ModuleResolveResult>
       where Self: Sized;
}
Expand description

A reference to one or multiple Modules, OutputAssets or other special things. There are a bunch of optional traits that can influence how these references are handled. e. g. ChunkableModuleReference

Required Methods§

Source

fn resolve_reference(self: Vc<Self>) -> Vc<ModuleResolveResult>
where Self: Sized,

Trait Implementations§

Implementors§