pub struct CodegenAnalysis {
pub string_pool: StringPool,
pub bigint_pool: BigIntPool,
pub dependency_usage: DependencyUsage,
pub closure_metas: Vec<ClosureMeta>,
pub adapter_metas: Vec<AdapterMeta>,
pub mentioned_closure_sigs: Vec<ClosureSig>,
pub extra_field_names: Vec<String>,
/* private fields */
}Fields§
§string_pool: StringPool§bigint_pool: BigIntPool§dependency_usage: DependencyUsage§closure_metas: Vec<ClosureMeta>§adapter_metas: Vec<AdapterMeta>§mentioned_closure_sigs: Vec<ClosureSig>Closure shapes named by any type the module mentions; see
crate::codegen::closures for how this fits the other sources.
extra_field_names: Vec<String>Implementations§
Source§impl CodegenAnalysis
impl CodegenAnalysis
pub fn collect( ta: &TypedAst, dependencies: &[&PackageDeclaration], ) -> Result<Self, CompilerFailure>
Auto Trait Implementations§
impl Freeze for CodegenAnalysis
impl RefUnwindSafe for CodegenAnalysis
impl Send for CodegenAnalysis
impl Sync for CodegenAnalysis
impl Unpin for CodegenAnalysis
impl UnsafeUnpin for CodegenAnalysis
impl UnwindSafe for CodegenAnalysis
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