pub struct SemanticCallGraph {
pub functions: Vec<FunctionInfo>,
pub facts: Vec<LanguageFact>,
pub source_files: BTreeSet<PathBuf>,
pub roots: BTreeSet<SymbolId>,
}Fields§
§functions: Vec<FunctionInfo>§facts: Vec<LanguageFact>§source_files: BTreeSet<PathBuf>Source files successfully consumed by the frontend, including files that declare no callable functions.
roots: BTreeSet<SymbolId>Compiler-provided roots when the backend has authoritative entry information. The common graph infers component roots only when empty.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticCallGraph
impl Clone for SemanticCallGraph
Source§impl Debug for SemanticCallGraph
impl Debug for SemanticCallGraph
Source§impl Default for SemanticCallGraph
impl Default for SemanticCallGraph
Source§impl<'de> Deserialize<'de> for SemanticCallGraph
impl<'de> Deserialize<'de> for SemanticCallGraph
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticCallGraph
Source§impl PartialEq for SemanticCallGraph
impl PartialEq for SemanticCallGraph
Source§impl Serialize for SemanticCallGraph
impl Serialize for SemanticCallGraph
impl StructuralPartialEq for SemanticCallGraph
Auto Trait Implementations§
impl DynSend for SemanticCallGraph
impl DynSync for SemanticCallGraph
impl Freeze for SemanticCallGraph
impl RefUnwindSafe for SemanticCallGraph
impl Send for SemanticCallGraph
impl Sync for SemanticCallGraph
impl Unpin for SemanticCallGraph
impl UnsafeUnpin for SemanticCallGraph
impl UnwindSafe for SemanticCallGraph
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