pub struct ResolveAllImportsInput<'a> {
pub modules: &'a [ModuleInfo],
pub files: &'a [DiscoveredFile],
pub workspaces: &'a [WorkspaceInfo],
pub active_plugins: &'a [String],
pub path_aliases: &'a [(String, String)],
pub auto_imports: &'a [AutoImportRule],
pub scss_include_paths: &'a [PathBuf],
pub static_dir_mappings: &'a [(PathBuf, String)],
pub framework_static_dir_mappings: &'a [(PathBuf, String)],
pub root: &'a Path,
pub extra_conditions: &'a [String],
}Expand description
Inputs used to resolve imports for a complete extracted project.
Fields§
§modules: &'a [ModuleInfo]Extracted modules whose imports should be resolved.
files: &'a [DiscoveredFile]Discovered source files indexed by FileId.
workspaces: &'a [WorkspaceInfo]Workspace package roots used for package self-resolution.
active_plugins: &'a [String]Active plugin names that affect extensions and resolver conditions.
path_aliases: &'a [(String, String)]Configured TypeScript path alias pairs.
auto_imports: &'a [AutoImportRule]Auto-import rules that synthesize implicit graph edges.
scss_include_paths: &'a [PathBuf]Additional Sass and SCSS include directories.
static_dir_mappings: &'a [(PathBuf, String)]Static directory mappings for framework-specific asset resolution.
framework_static_dir_mappings: &'a [(PathBuf, String)]Mounts a framework serves for the whole project; see ResolveContext.
root: &'a PathProject root used for package manifest and relative-path resolution.
extra_conditions: &'a [String]Extra resolver conditions supplied by configuration.
Auto Trait Implementations§
impl<'a> Freeze for ResolveAllImportsInput<'a>
impl<'a> RefUnwindSafe for ResolveAllImportsInput<'a>
impl<'a> Send for ResolveAllImportsInput<'a>
impl<'a> Sync for ResolveAllImportsInput<'a>
impl<'a> Unpin for ResolveAllImportsInput<'a>
impl<'a> UnsafeUnpin for ResolveAllImportsInput<'a>
impl<'a> UnwindSafe for ResolveAllImportsInput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more