Trait EcmascriptChunkItem

Source
pub trait EcmascriptChunkItem:
    ChunkItem
    + Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn content(self: Vc<Self>) -> Vc<EcmascriptChunkItemContent>
       where Self: Sized;

    // Provided methods
    fn content_with_async_module_info(
        self: Vc<Self>,
        _async_module_info: Option<Vc<AsyncModuleInfo>>,
    ) -> Vc<EcmascriptChunkItemContent>
       where Self: Sized { ... }
    fn need_async_module_info(self: Vc<Self>) -> Vc<bool>
       where Self: Sized { ... }
}

Required Methods§

Source

fn content(self: Vc<Self>) -> Vc<EcmascriptChunkItemContent>
where Self: Sized,

Provided Methods§

Source

fn content_with_async_module_info( self: Vc<Self>, _async_module_info: Option<Vc<AsyncModuleInfo>>, ) -> Vc<EcmascriptChunkItemContent>
where Self: Sized,

Source

fn need_async_module_info(self: Vc<Self>) -> Vc<bool>
where Self: Sized,

Specifies which availablility information the chunk item needs for code generation

Trait Implementations§

Implementors§