• Home
  • Raw
  • Download

Lines Matching refs:BindgenContext

7 use super::context::{BindgenContext, ItemId, PartialType, TypeId};
43 fn canonical_name(&self, ctx: &BindgenContext) -> String; in canonical_name()
64 ctx: &BindgenContext, in namespace_aware_canonical_path() argument
68 fn canonical_path(&self, ctx: &BindgenContext) -> Vec<String>; in canonical_path()
79 fn is_opaque(&self, ctx: &BindgenContext, extra: &Self::Extra) -> bool; in is_opaque() argument
85 fn has_type_param_in_array(&self, ctx: &BindgenContext) -> bool; in has_type_param_in_array()
91 fn has_float(&self, ctx: &BindgenContext) -> bool; in has_float()
98 fn ancestors<'a>(&self, ctx: &'a BindgenContext) -> ItemAncestorsIter<'a>; in ancestors()
123 ctx: &'a BindgenContext,
128 fn new<Id: Into<ItemId>>(ctx: &'a BindgenContext, id: Id) -> Self { in new() argument
164 ctx: &BindgenContext, in as_template_param() argument
176 ctx: &BindgenContext, in as_template_param() argument
188 ctx: &BindgenContext, in as_template_param() argument
204 fn canonical_name(&self, ctx: &BindgenContext) -> String { in canonical_name()
219 ctx: &BindgenContext, in namespace_aware_canonical_path() argument
228 fn canonical_path(&self, ctx: &BindgenContext) -> Vec<String> { in canonical_path()
241 fn ancestors<'a>(&self, ctx: &'a BindgenContext) -> ItemAncestorsIter<'a> { in ancestors()
247 fn ancestors<'a>(&self, ctx: &'a BindgenContext) -> ItemAncestorsIter<'a> { in ancestors()
258 fn trace<T>(&self, ctx: &BindgenContext, tracer: &mut T, extra: &()) in trace() argument
269 fn trace<T>(&self, ctx: &BindgenContext, tracer: &mut T, _extra: &()) in trace() argument
313 fn can_derive_debug(&self, ctx: &BindgenContext) -> bool { in can_derive_debug()
319 fn can_derive_default(&self, ctx: &BindgenContext) -> bool { in can_derive_default()
325 fn can_derive_copy(&self, ctx: &BindgenContext) -> bool { in can_derive_copy()
331 fn can_derive_hash(&self, ctx: &BindgenContext) -> bool { in can_derive_hash()
337 fn can_derive_partialord(&self, ctx: &BindgenContext) -> bool { in can_derive_partialord()
343 fn can_derive_partialeq(&self, ctx: &BindgenContext) -> bool { in can_derive_partialeq()
349 fn can_derive_eq(&self, ctx: &BindgenContext) -> bool { in can_derive_eq()
355 fn can_derive_ord(&self, ctx: &BindgenContext) -> bool { in can_derive_ord()
456 ctx: &mut BindgenContext, in new_opaque_type() argument
492 pub fn codegen_depth(&self, ctx: &BindgenContext) -> usize { in codegen_depth()
510 pub fn comment(&self, ctx: &BindgenContext) -> Option<String> { in comment()
540 pub fn local_id(&self, ctx: &BindgenContext) -> usize { in local_id()
577 pub fn is_toplevel(&self, ctx: &BindgenContext) -> bool { in is_toplevel()
637 pub fn is_blocklisted(&self, ctx: &BindgenContext) -> bool { in is_blocklisted()
684 pub fn name<'a>(&'a self, ctx: &'a BindgenContext) -> NameOptions<'a> { in name()
689 fn name_target(&self, ctx: &BindgenContext) -> ItemId { in name_target()
718 pub fn full_disambiguated_name(&self, ctx: &BindgenContext) -> String { in full_disambiguated_name()
728 ctx: &BindgenContext, in push_disambiguated_name() argument
758 fn overload_index(&self, ctx: &BindgenContext) -> Option<usize> { in overload_index()
787 fn base_name(&self, ctx: &BindgenContext) -> String { in base_name()
844 ctx: &BindgenContext, in real_canonical_name() argument
944 pub fn exposed_id(&self, ctx: &BindgenContext) -> String { in exposed_id()
982 fn is_constified_enum_module(&self, ctx: &BindgenContext) -> bool { in is_constified_enum_module()
1013 pub fn is_enabled_for_codegen(&self, ctx: &BindgenContext) -> bool { in is_enabled_for_codegen()
1039 pub fn path_for_allowlisting(&self, ctx: &BindgenContext) -> &Vec<String> { in path_for_allowlisting()
1046 ctx: &BindgenContext, in compute_path() argument
1098 pub fn must_use(&self, ctx: &BindgenContext) -> bool { in must_use()
1109 fn is_opaque(&self, ctx: &BindgenContext, _: &()) -> bool { in is_opaque() argument
1121 fn is_opaque(&self, ctx: &BindgenContext, _: &()) -> bool { in is_opaque() argument
1136 fn has_vtable(&self, ctx: &BindgenContext) -> bool { in has_vtable()
1143 fn has_vtable_ptr(&self, ctx: &BindgenContext) -> bool { in has_vtable_ptr()
1152 fn has_vtable(&self, ctx: &BindgenContext) -> bool { in has_vtable()
1156 fn has_vtable_ptr(&self, ctx: &BindgenContext) -> bool { in has_vtable_ptr()
1165 fn sizedness(&self, ctx: &BindgenContext) -> SizednessResult { in sizedness()
1173 fn sizedness(&self, ctx: &BindgenContext) -> SizednessResult { in sizedness()
1182 fn has_type_param_in_array(&self, ctx: &BindgenContext) -> bool { in has_type_param_in_array()
1192 fn has_type_param_in_array(&self, ctx: &BindgenContext) -> bool { in has_type_param_in_array()
1205 fn has_float(&self, ctx: &BindgenContext) -> bool { in has_float()
1215 fn has_float(&self, ctx: &BindgenContext) -> bool { in has_float()
1230 ctx: &BindgenContext, in dot_attributes() argument
1256 fn self_template_params(&self, ctx: &BindgenContext) -> Vec<TypeId> { in self_template_params()
1263 fn self_template_params(&self, ctx: &BindgenContext) -> Vec<TypeId> { in self_template_params()
1269 fn self_template_params(&self, ctx: &BindgenContext) -> Vec<TypeId> { in self_template_params()
1288 ctx: &mut BindgenContext, in visit_child() argument
1312 ctx: &mut BindgenContext, in builtin_type() argument
1337 ctx: &mut BindgenContext, in parse() argument
1484 ctx: &mut BindgenContext, in from_ty_or_ref() argument
1505 ctx: &mut BindgenContext, in from_ty_or_ref_with_id() argument
1559 ctx: &mut BindgenContext, in from_ty() argument
1578 ctx: &mut BindgenContext, in from_ty_with_id() argument
1746 ctx: &mut BindgenContext, in type_param() argument
1916 fn canonical_name(&self, ctx: &BindgenContext) -> String { in canonical_name()
1939 ctx: &BindgenContext, in namespace_aware_canonical_path() argument
1962 fn canonical_path(&self, ctx: &BindgenContext) -> Vec<String> { in canonical_path()
1983 ctx: &'a BindgenContext,
1990 pub fn new(item: &'a Item, ctx: &'a BindgenContext) -> Self { in new()