pub struct CfgModule { /* private fields */ }Implementations§
Source§impl CfgModule
impl CfgModule
pub async fn index(&self) -> Result<()>
pub async fn extract_function_cfg( &self, _file_path: &Path, function_name: &str, ) -> Result<Option<TestCfg>>
pub fn paths(&self, function: SymbolId) -> PathBuilder
pub async fn dominators(&self, function: SymbolId) -> Result<DominatorTree>
pub async fn loops(&self, function: SymbolId) -> Result<Vec<Loop>>
pub async fn detect_cycles(&self) -> Result<CycleReport>
pub async fn dead_symbols(&self, entry_symbol: &str) -> Result<Vec<DeadSymbol>>
pub async fn reachable_symbols( &self, symbol_id: &str, ) -> Result<Vec<DeadSymbol>>
pub async fn callees( &self, function_name: &str, file_filter: Option<&str>, ) -> Result<Vec<i64>>
pub async fn resolve_function( &self, name: &str, file_filter: Option<&str>, ) -> Result<i64>
pub async fn database_status(&self) -> Result<Option<DatabaseStatus>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CfgModule
impl RefUnwindSafe for CfgModule
impl Send for CfgModule
impl Sync for CfgModule
impl Unpin for CfgModule
impl UnsafeUnpin for CfgModule
impl UnwindSafe for CfgModule
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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