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§
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,
Trait Implementations§
Source§impl VcValueTrait for Box<dyn BeforeResolvePlugin>
impl VcValueTrait for Box<dyn BeforeResolvePlugin>
type ValueTrait = dyn BeforeResolvePlugin
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
Source§fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
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.