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§
fn resolve_reference(self: Vc<Self>) -> Vc<ModuleResolveResult>where
Self: Sized,
Trait Implementations§
Source§impl VcValueTrait for Box<dyn ModuleReference>
impl VcValueTrait for Box<dyn ModuleReference>
type ValueTrait = dyn ModuleReference
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
Source§fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
Returns the vtable for an implementation of this trait.
Panics if ValueTypeId does not implement the trait.