pub trait ChunkableModule:
Module
+ Asset
+ Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn as_chunk_item(
self: Vc<Self>,
module_graph: Vc<ModuleGraph>,
chunking_context: Vc<Box<dyn ChunkingContext>>,
) -> Vc<Box<dyn ChunkItem>>
where Self: Sized;
}
Required Methods§
fn as_chunk_item(
self: Vc<Self>,
module_graph: Vc<ModuleGraph>,
chunking_context: Vc<Box<dyn ChunkingContext>>,
) -> Vc<Box<dyn ChunkItem>>where
Self: Sized,
Trait Implementations§
Source§impl VcValueTrait for Box<dyn ChunkableModule>
impl VcValueTrait for Box<dyn ChunkableModule>
type ValueTrait = dyn ChunkableModule
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.