Trait ChunkableModuleReference

Source
pub trait ChunkableModuleReference:
    ModuleReference
    + ValueToString
    + Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Provided method
    fn chunking_type(self: Vc<Self>) -> Vc<ChunkingTypeOption>
       where Self: Sized { ... }
}
Expand description

A ModuleReference implementing this trait and returning Some(_) for ChunkableModuleReference::chunking_type are considered as potentially chunkable references. When all Modules of such a reference implement ChunkableModule they are placed in Chunks during chunking. They are even potentially placed in the same Chunk when a chunk type specific interface is implemented.

Provided Methods§

Source

fn chunking_type(self: Vc<Self>) -> Vc<ChunkingTypeOption>
where Self: Sized,

Trait Implementations§

Implementors§