Lines Matching defs:BindgenContext
308 pub struct BindgenContext { struct
310 items: Vec<Option<Item>>,
314 types: HashMap<TypeKey, TypeId>,
318 type_params: HashMap<clang::Cursor, TypeId>,
321 modules: HashMap<Cursor, ModuleId>,
324 root_module: ModuleId,
327 current_module: ModuleId,
335 semantic_parents: HashMap<clang::Cursor, ItemId>,
348 currently_parsed_types: Vec<PartialType>,
355 parsed_macros: StdHashMap<Vec<u8>, cexpr::expr::EvalResult>,
358 deps: BTreeSet<String>,
361 replacements: HashMap<Vec<String>, ItemId>,
363 collected_typerefs: bool,
365 in_codegen: bool,
368 translation_unit: clang::TranslationUnit,
371 target_info: clang::TargetInfo,
374 options: BindgenOptions,
377 generated_bindgen_complex: Cell<bool>,
381 allowlisted: Option<ItemSet>,
384 blocklisted_types_implement_traits:
391 codegen_items: Option<ItemSet>,
396 used_template_parameters: Option<HashMap<ItemId, ItemSet>>,
400 need_bitfield_allocation: Vec<ItemId>,
416 enum_typedef_combos: Option<HashSet<ItemId>>,
422 cannot_derive_debug: Option<HashSet<ItemId>>,
428 cannot_derive_default: Option<HashSet<ItemId>>,
434 cannot_derive_copy: Option<HashSet<ItemId>>,
440 cannot_derive_hash: Option<HashSet<ItemId>>,
447 cannot_derive_partialeq_or_partialord: Option<HashMap<ItemId, CanDerive>>,
453 sizedness: Option<HashMap<TypeId, SizednessResult>>,
459 have_vtable: Option<HashMap<ItemId, HasVtableResult>>,
485 ctx: &'ctx BindgenContext, argument
508 ctx: &'ctx BindgenContext, in new()
510 predicate: for<'a> fn(&'a BindgenContext, Edge) -> bool, in new()
522 impl BindgenContext { impl
956 F: (FnOnce(&BindgenContext, &mut Item) -> T), in with_loaned_item()