pub struct InferResult {Show 14 fields
pub infer_ctx: MacroInferContext,
pub fields_dict: FieldsDict,
pub enum_dict: EnumDict,
pub inline_fn_dict: InlineFnDict,
pub apidoc: ApidocDict,
pub rust_decl_dict: Option<RustDeclDict>,
pub c_fn_decl_dict: CFnDeclDict,
pub typedefs: TypedefDict,
pub global_const_dict: GlobalConstDict,
pub apidoc_patches: ApidocPatchSet,
pub perl_build_mode: PerlBuildMode,
pub perlvar_dict: PerlvarDict,
pub preprocessor: Preprocessor,
pub stats: InferStats,
}Expand description
型推論の結果
Fields§
§infer_ctx: MacroInferContextマクロ推論コンテキスト(全マクロの解析結果)
fields_dict: FieldsDictフィールド辞書
enum_dict: EnumDictEnum 辞書
inline_fn_dict: InlineFnDictインライン関数辞書
apidoc: ApidocDictApidoc 辞書
rust_decl_dict: Option<RustDeclDict>Rust 宣言辞書
c_fn_decl_dict: CFnDeclDictC 関数宣言辞書
typedefs: TypedefDicttypedef 辞書
global_const_dict: GlobalConstDictglobal static const 配列宣言辞書(bodies_by_type 等)
apidoc_patches: ApidocPatchSetapidoc patches(perl C ヘッダ既知バグの訂正データ)
perl_build_mode: PerlBuildMode対象 perl の build mode(threaded / non-threaded)
perlvar_dict: PerlvarDictPERLVAR 観測辞書 (Phase 1 で収集、Phase 3 で PL_xxx!() 出力に使う)。
Pipeline で with_perlvar_collection(false) した場合は空。
preprocessor: Preprocessorプリプロセッサ(マクロテーブル、StringInterner、FileRegistry へのアクセス用)
stats: InferStats統計情報
Auto Trait Implementations§
impl Freeze for InferResult
impl !RefUnwindSafe for InferResult
impl !Send for InferResult
impl !Sync for InferResult
impl Unpin for InferResult
impl UnsafeUnpin for InferResult
impl !UnwindSafe for InferResult
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