pub struct AnalysisStats {Show 20 fields
pub path: PathBuf,
pub output: Option<OutputFormat>,
pub randomize: bool,
pub parallel: bool,
pub only: Option<String>,
pub with_deps: bool,
pub no_sysroot: bool,
pub no_test: bool,
pub disable_build_scripts: bool,
pub disable_proc_macros: bool,
pub proc_macro_srv: Option<PathBuf>,
pub skip_lowering: bool,
pub skip_lang_items: bool,
pub skip_inference: bool,
pub skip_mir_stats: bool,
pub skip_data_layout: bool,
pub skip_const_eval: bool,
pub run_all_ide_things: bool,
pub run_term_search: bool,
pub validate_term_search: bool,
}Fields§
§path: PathBuf§output: Option<OutputFormat>§randomize: bool§parallel: bool§only: Option<String>§with_deps: bool§no_sysroot: bool§no_test: bool§disable_build_scripts: bool§disable_proc_macros: bool§proc_macro_srv: Option<PathBuf>§skip_lowering: bool§skip_lang_items: bool§skip_inference: bool§skip_mir_stats: bool§skip_data_layout: bool§skip_const_eval: bool§run_all_ide_things: bool§run_term_search: bool§validate_term_search: boolImplementations§
Source§impl AnalysisStats
impl AnalysisStats
pub fn run(self, verbosity: Verbosity) -> Result<()>
fn run_data_layout(&self, db: &RootDatabase, adts: &[Adt], verbosity: Verbosity)
fn run_const_eval( &self, db: &RootDatabase, bodies: &[DefWithBody], verbosity: Verbosity, )
Sourcefn run_term_search(
&self,
ws: &ProjectWorkspace,
db: &RootDatabase,
vfs: &Vfs,
file_ids: &[EditionedFileId],
verbosity: Verbosity,
)
fn run_term_search( &self, ws: &ProjectWorkspace, db: &RootDatabase, vfs: &Vfs, file_ids: &[EditionedFileId], verbosity: Verbosity, )
Invariant: file_ids must be sorted and deduped before passing into here
fn run_mir_lowering( &self, db: &RootDatabase, bodies: &[DefWithBody], verbosity: Verbosity, )
fn run_inference( &self, db: &RootDatabase, vfs: &Vfs, bodies: &[DefWithBody], verbosity: Verbosity, )
fn run_body_lowering( &self, db: &RootDatabase, vfs: &Vfs, bodies: &[DefWithBody], verbosity: Verbosity, )
fn run_lang_items( &self, db: &RootDatabase, crates: &[Crate], verbosity: Verbosity, )
Sourcefn run_ide_things(
&self,
analysis: Analysis,
file_ids: &[EditionedFileId],
db: &RootDatabase,
vfs: &Vfs,
verbosity: Verbosity,
)
fn run_ide_things( &self, analysis: Analysis, file_ids: &[EditionedFileId], db: &RootDatabase, vfs: &Vfs, verbosity: Verbosity, )
Invariant: file_ids must be sorted and deduped before passing into here
fn should_process( &self, db: &RootDatabase, body_id: DefWithBody, module: Module, ) -> bool
fn stop_watch(&self) -> StopWatch
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnalysisStats
impl RefUnwindSafe for AnalysisStats
impl Send for AnalysisStats
impl Sync for AnalysisStats
impl Unpin for AnalysisStats
impl UnwindSafe for AnalysisStats
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
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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