We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d01b94 commit b87010aCopy full SHA for b87010a
bindgen/ir/enum_ty.rs
@@ -150,6 +150,10 @@ impl Enum {
150
Ok(Enum::new(repr, variants))
151
}
152
153
+ /// Checks if the enum matches any of the regular expressions in `enums`
154
+ ///
155
+ /// For anonymous enums, returns true if any of the enum variants matches
156
+ /// any of the regular expressions in `enums`.
157
pub(crate) fn is_matching_enum(
158
&self,
159
ctx: &BindgenContext,
0 commit comments