pub struct FileContext {Show 23 fields
pub source_file: String,
pub module_name: Option<String>,
pub intent: Option<String>,
pub depends: Vec<String>,
pub exposes: Vec<String>,
pub exposes_opaque: Vec<String>,
pub api_effects: Vec<String>,
pub module_effects: Vec<String>,
pub main_effects: Option<Vec<String>>,
pub fn_defs: Vec<FnDef>,
pub all_fn_defs: Vec<FnDef>,
pub fn_auto_memo: HashSet<String>,
pub fn_memo_qual: HashMap<String, Vec<String>>,
pub fn_auto_tco: HashSet<String>,
pub fn_recursive_callsites: HashMap<String, usize>,
pub fn_recursive_scc_id: HashMap<String, usize>,
pub fn_specs: HashMap<String, Vec<String>>,
pub fn_direct_calls: HashMap<String, Vec<String>>,
pub type_defs: Vec<TypeDef>,
pub verify_blocks: Vec<VerifyBlock>,
pub verify_counts: HashMap<String, usize>,
pub verify_samples: HashMap<String, Vec<String>>,
pub decisions: Vec<DecisionBlock>,
}Fields§
§source_file: String§module_name: Option<String>§intent: Option<String>§depends: Vec<String>§exposes: Vec<String>§exposes_opaque: Vec<String>§api_effects: Vec<String>§module_effects: Vec<String>§main_effects: Option<Vec<String>>§fn_defs: Vec<FnDef>Public fn defs only (filtered by exposes when present).
all_fn_defs: Vec<FnDef>Every fn def, unfiltered. Used by callers that need private fns too.
fn_auto_memo: HashSet<String>§fn_memo_qual: HashMap<String, Vec<String>>§fn_auto_tco: HashSet<String>§fn_recursive_callsites: HashMap<String, usize>§fn_recursive_scc_id: HashMap<String, usize>§fn_specs: HashMap<String, Vec<String>>§fn_direct_calls: HashMap<String, Vec<String>>§type_defs: Vec<TypeDef>§verify_blocks: Vec<VerifyBlock>§verify_counts: HashMap<String, usize>§verify_samples: HashMap<String, Vec<String>>§decisions: Vec<DecisionBlock>Trait Implementations§
Source§impl Clone for FileContext
impl Clone for FileContext
Source§fn clone(&self) -> FileContext
fn clone(&self) -> FileContext
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 moreAuto Trait Implementations§
impl Freeze for FileContext
impl RefUnwindSafe for FileContext
impl Send for FileContext
impl Sync for FileContext
impl Unpin for FileContext
impl UnsafeUnpin for FileContext
impl UnwindSafe for FileContext
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