Lines Matching full:regex
57 /// Mark any enum whose name matches <REGEX> as a set of bitfield flags.
58 #[arg(long, value_name = "REGEX")]
60 /// Mark any enum whose name matches <REGEX> as a newtype.
61 #[arg(long, value_name = "REGEX")]
63 /// Mark any enum whose name matches <REGEX> as a global newtype.
64 #[arg(long, value_name = "REGEX")]
66 /// Mark any enum whose name matches <REGEX> as a Rust enum.
67 #[arg(long, value_name = "REGEX")]
69 /// Mark any enum whose name matches <REGEX> as a series of constants.
70 #[arg(long, value_name = "REGEX")]
72 /// Mark any enum whose name matches <regex> as a module of constants.
73 #[arg(long, value_name = "REGEX")]
81 /// Mark any typedef alias whose name matches <REGEX> to use normal type aliasing.
82 #[arg(long, value_name = "REGEX")]
84 /// Mark any typedef alias whose name matches <REGEX> to have a new type generated for it.
85 #[arg(long, value_name = "REGEX")]
87 …/// Mark any typedef alias whose name matches <REGEX> to have a new type with Deref and DerefMut t…
88 #[arg(long, value_name = "REGEX")]
93 …/// Mark any union whose name matches <REGEX> and who has a non-Copy member to use a bindgen-gener…
94 #[arg(long, value_name = "REGEX")]
96 …/// Mark any union whose name matches <REGEX> and who has a non-Copy member to use ManuallyDrop (s…
97 #[arg(long, value_name = "REGEX")]
245 …/// Allowlist all the free-standing functions matching <REGEX>. Other non-allowlisted functions wi…
246 #[arg(long, value_name = "REGEX")]
251 /// Only generate types matching <REGEX>. Other non-allowlisted types will not be generated.
252 #[arg(long, value_name = "REGEX")]
254 …/// Allowlist all the free-standing variables matching <REGEX>. Other non-allowlisted variables wi…
255 #[arg(long, value_name = "REGEX")]
266 /// Do not record matching items in the regex sets. This disables reporting of unused items.
284 /// Avoid deriving PartialEq for types matching <REGEX>.
285 #[arg(long, value_name = "REGEX")]
287 /// Avoid deriving Copy for types matching <REGEX>.
288 #[arg(long, value_name = "REGEX")]
290 /// Avoid deriving Debug for types matching <REGEX>.
291 #[arg(long, value_name = "REGEX")]
293 /// Avoid deriving/implementing Default for types matching <REGEX>.
294 #[arg(long, value_name = "REGEX")]
296 /// Avoid deriving Hash for types matching <REGEX>.
297 #[arg(long, value_name = "REGEX")]
299 /// Add #[must_use] annotation to types matching <REGEX>.
300 #[arg(long, value_name = "REGEX")]
338 …/// Overrides the ABI of functions matching <regex>. The <OVERRIDE> value must be of the shape <RE…
344 …/// Derive custom traits on any kind of type. The <CUSTOM> value must be of the shape <REGEX>=<DER…
347 …/// Derive custom traits on a `struct`. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> w…
350 …/// Derive custom traits on an `enum. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> whe…
353 …/// Derive custom traits on a `union`. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> wh…
525 for regex in bitfield_enum { in builder_from_flags()
526 builder = builder.bitfield_enum(regex); in builder_from_flags()
529 for regex in newtype_enum { in builder_from_flags()
530 builder = builder.newtype_enum(regex); in builder_from_flags()
533 for regex in newtype_global_enum { in builder_from_flags()
534 builder = builder.newtype_global_enum(regex); in builder_from_flags()
537 for regex in rustified_enum { in builder_from_flags()
538 builder = builder.rustified_enum(regex); in builder_from_flags()
541 for regex in constified_enum { in builder_from_flags()
542 builder = builder.constified_enum(regex); in builder_from_flags()
545 for regex in constified_enum_module { in builder_from_flags()
546 builder = builder.constified_enum_module(regex); in builder_from_flags()
558 for regex in normal_alias { in builder_from_flags()
559 builder = builder.type_alias(regex); in builder_from_flags()
562 for regex in new_type_alias { in builder_from_flags()
563 builder = builder.new_type_alias(regex); in builder_from_flags()
566 for regex in new_type_alias_deref { in builder_from_flags()
567 builder = builder.new_type_alias_deref(regex); in builder_from_flags()
574 for regex in bindgen_wrapper_union { in builder_from_flags()
575 builder = builder.bindgen_wrapper_union(regex); in builder_from_flags()
578 for regex in manually_drop_union { in builder_from_flags()
579 builder = builder.manually_drop_union(regex); in builder_from_flags()
782 for regex in allowlist_function { in builder_from_flags()
783 builder = builder.allowlist_function(regex); in builder_from_flags()
786 for regex in allowlist_type { in builder_from_flags()
787 builder = builder.allowlist_type(regex); in builder_from_flags()
790 for regex in allowlist_var { in builder_from_flags()
791 builder = builder.allowlist_var(regex); in builder_from_flags()
858 for regex in no_partialeq { in builder_from_flags()
859 builder = builder.no_partialeq(regex); in builder_from_flags()
862 for regex in no_copy { in builder_from_flags()
863 builder = builder.no_copy(regex); in builder_from_flags()
866 for regex in no_debug { in builder_from_flags()
867 builder = builder.no_debug(regex); in builder_from_flags()
870 for regex in no_default { in builder_from_flags()
871 builder = builder.no_default(regex); in builder_from_flags()
874 for regex in no_hash { in builder_from_flags()
875 builder = builder.no_hash(regex); in builder_from_flags()
878 for regex in must_use_type { in builder_from_flags()
879 builder = builder.must_use_type(regex); in builder_from_flags()
919 let (regex, abi_str) = abi_override in builder_from_flags()
925 builder = builder.override_abi(abi, regex); in builder_from_flags()
982 let (regex, derives) = custom_derive in builder_from_flags()
988 regex_set.insert(regex); in builder_from_flags()