Trait ImportMappingReplacement

Source
pub trait ImportMappingReplacement:
    Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required methods
    fn replace(
        self: Vc<Self>,
        capture: Vc<Pattern>,
    ) -> Vc<ReplacedImportMapping>
       where Self: Sized;
    fn result(
        self: Vc<Self>,
        lookup_path: Vc<FileSystemPath>,
        request: Vc<Request>,
    ) -> Vc<ImportMapResult>
       where Self: Sized;
}

Required Methods§

Source

fn replace(self: Vc<Self>, capture: Vc<Pattern>) -> Vc<ReplacedImportMapping>
where Self: Sized,

Source

fn result( self: Vc<Self>, lookup_path: Vc<FileSystemPath>, request: Vc<Request>, ) -> Vc<ImportMapResult>
where Self: Sized,

Trait Implementations§

Implementors§