Trait ChunkingContextExt

Source
pub trait ChunkingContextExt {
    // Required methods
    fn root_chunk_group(
        self: Vc<Self>,
        ident: Vc<AssetIdent>,
        chunk_group: ChunkGroup,
        module_graph: Vc<ModuleGraph>,
    ) -> Vc<ChunkGroupResult>
       where Self: Send;
    fn root_chunk_group_assets(
        self: Vc<Self>,
        ident: Vc<AssetIdent>,
        chunk_group: ChunkGroup,
        module_graph: Vc<ModuleGraph>,
    ) -> Vc<OutputAssets>
       where Self: Send;
    fn evaluated_chunk_group_assets(
        self: Vc<Self>,
        ident: Vc<AssetIdent>,
        chunk_group: ChunkGroup,
        module_graph: Vc<ModuleGraph>,
        availability_info: Value<AvailabilityInfo>,
    ) -> Vc<OutputAssets>
       where Self: Send;
    fn entry_chunk_group_asset(
        self: Vc<Self>,
        path: Vc<FileSystemPath>,
        evaluatable_assets: Vc<EvaluatableAssets>,
        module_graph: Vc<ModuleGraph>,
        extra_chunks: Vc<OutputAssets>,
        availability_info: Value<AvailabilityInfo>,
    ) -> Vc<Box<dyn OutputAsset>>
       where Self: Send;
    fn root_entry_chunk_group(
        self: Vc<Self>,
        path: Vc<FileSystemPath>,
        evaluatable_assets: Vc<EvaluatableAssets>,
        module_graph: Vc<ModuleGraph>,
        extra_chunks: Vc<OutputAssets>,
    ) -> Vc<EntryChunkGroupResult>
       where Self: Send;
    fn root_entry_chunk_group_asset(
        self: Vc<Self>,
        path: Vc<FileSystemPath>,
        evaluatable_assets: Vc<EvaluatableAssets>,
        module_graph: Vc<ModuleGraph>,
        extra_chunks: Vc<OutputAssets>,
    ) -> Vc<Box<dyn OutputAsset>>
       where Self: Send;
    fn chunk_group_assets(
        self: Vc<Self>,
        ident: Vc<AssetIdent>,
        chunk_group: ChunkGroup,
        module_graph: Vc<ModuleGraph>,
        availability_info: Value<AvailabilityInfo>,
    ) -> Vc<OutputAssets>
       where Self: Send;
}

Required Methods§

Source

fn root_chunk_group( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, ) -> Vc<ChunkGroupResult>
where Self: Send,

Source

fn root_chunk_group_assets( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, ) -> Vc<OutputAssets>
where Self: Send,

Source

fn evaluated_chunk_group_assets( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, availability_info: Value<AvailabilityInfo>, ) -> Vc<OutputAssets>
where Self: Send,

Source

fn entry_chunk_group_asset( self: Vc<Self>, path: Vc<FileSystemPath>, evaluatable_assets: Vc<EvaluatableAssets>, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, availability_info: Value<AvailabilityInfo>, ) -> Vc<Box<dyn OutputAsset>>
where Self: Send,

Source

fn root_entry_chunk_group( self: Vc<Self>, path: Vc<FileSystemPath>, evaluatable_assets: Vc<EvaluatableAssets>, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, ) -> Vc<EntryChunkGroupResult>
where Self: Send,

Source

fn root_entry_chunk_group_asset( self: Vc<Self>, path: Vc<FileSystemPath>, evaluatable_assets: Vc<EvaluatableAssets>, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, ) -> Vc<Box<dyn OutputAsset>>
where Self: Send,

Source

fn chunk_group_assets( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, availability_info: Value<AvailabilityInfo>, ) -> Vc<OutputAssets>
where Self: Send,

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§