Trait BeforeResolvePlugin

Source
pub trait BeforeResolvePlugin:
    Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required methods
    fn before_resolve_condition(
        self: Vc<Self>,
    ) -> Vc<BeforeResolvePluginCondition>
       where Self: Sized;
    fn before_resolve(
        self: Vc<Self>,
        lookup_path: Vc<FileSystemPath>,
        reference_type: ReferenceType,
        request: Vc<Request>,
    ) -> Vc<ResolveResultOption>
       where Self: Sized;
}

Required Methods§

Source

fn before_resolve_condition(self: Vc<Self>) -> Vc<BeforeResolvePluginCondition>
where Self: Sized,

Source

fn before_resolve( self: Vc<Self>, lookup_path: Vc<FileSystemPath>, reference_type: ReferenceType, request: Vc<Request>, ) -> Vc<ResolveResultOption>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn BeforeResolvePlugin>

Source§

type ValueTrait = dyn BeforeResolvePlugin

Source§

fn get_trait_type_id() -> TraitTypeId

Returns the type id of the trait object.
Source§

fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>

Returns the vtable for an implementation of this trait. Panics if ValueTypeId does not implement the trait.
Source§

impl Dynamic<Box<dyn BeforeResolvePlugin>> for Box<dyn BeforeResolvePlugin>

Source§

impl Dynamic<Box<dyn ValueDebug>> for Box<dyn BeforeResolvePlugin>

Source§

impl Upcast<Box<dyn BeforeResolvePlugin>> for Box<dyn BeforeResolvePlugin>

Source§

impl Upcast<Box<dyn ValueDebug>> for Box<dyn BeforeResolvePlugin>

Implementors§