Trait EcmascriptChunkItemExt

Source
pub trait EcmascriptChunkItemExt {
    // Required method
    fn code(
        self: Vc<Self>,
        async_module_info: Option<Vc<AsyncModuleInfo>>,
    ) -> Vc<Code>;
}

Required Methods§

Source

fn code( self: Vc<Self>, async_module_info: Option<Vc<AsyncModuleInfo>>, ) -> Vc<Code>

Generates the module factory for this chunk item.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§