Skip to main content

EcmascriptChunkItemExt

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".

Implementors§

Source§

impl<T> EcmascriptChunkItemExt for T
where T: Upcast<Box<dyn EcmascriptChunkItem>>,