pub trait ChunkableModule:
Module
+ 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 TraitVtablePrototype for Box<dyn ChunkableModule>
impl TraitVtablePrototype for Box<dyn ChunkableModule>
Source§impl VcValueTrait for Box<dyn ChunkableModule>
impl VcValueTrait for Box<dyn ChunkableModule>
Source§const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
The per-trait vtable registry, populated at program load by
#[ctor::ctor]
functions emitted by each #[turbo_tasks::value_impl] expansion. Read moretype ValueTrait = dyn ChunkableModule
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
impl Dynamic<Box<dyn ChunkableModule>> for Box<dyn ChunkableModule>
impl Dynamic<Box<dyn Module>> for Box<dyn ChunkableModule>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn ChunkableModule>
Available on debug-assertions enabled only.
impl Upcast<Box<dyn ChunkableModule>> for Box<dyn ChunkableModule>
impl Upcast<Box<dyn Module>> for Box<dyn ChunkableModule>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn ChunkableModule>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn Module>> for Box<dyn ChunkableModule>
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn ChunkableModule>
Available on debug-assertions enabled only.