pub struct AnalysisResult {
pub fn_analyses: HashMap<String, FnAnalysis>,
pub mutual_tco_members: HashSet<String>,
pub recursive_fns: HashSet<String>,
}Fields§
§fn_analyses: HashMap<String, FnAnalysis>§mutual_tco_members: HashSet<String>Names of fns that participate in a multi-member tail-call SCC (mutual recursion). Backends emit a trampoline + thin wrappers for each member; singleton self-recursive fns go through plain TCO and aren’t in this set.
recursive_fns: HashSet<String>Names of fns that call themselves directly or transitively. Used by the type checker’s flow analysis, the proof exporters, and the memo-eligibility check.
Trait Implementations§
Source§impl Clone for AnalysisResult
impl Clone for AnalysisResult
Source§fn clone(&self) -> AnalysisResult
fn clone(&self) -> AnalysisResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalysisResult
impl Debug for AnalysisResult
Source§impl Default for AnalysisResult
impl Default for AnalysisResult
Source§fn default() -> AnalysisResult
fn default() -> AnalysisResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisResult
impl RefUnwindSafe for AnalysisResult
impl Send for AnalysisResult
impl Sync for AnalysisResult
impl Unpin for AnalysisResult
impl UnsafeUnpin for AnalysisResult
impl UnwindSafe for AnalysisResult
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