pub enum MacroParsingBehavior {
Ignore,
Default,
}
Expand description
An enum to allow ignoring parsing of macros.
Variants§
Ignore
Ignore the macro, generating no code for it, or anything that depends on it.
Default
The default behavior bindgen would have otherwise.
Trait Implementations§
source§impl Clone for MacroParsingBehavior
impl Clone for MacroParsingBehavior
source§fn clone(&self) -> MacroParsingBehavior
fn clone(&self) -> MacroParsingBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MacroParsingBehavior
impl Debug for MacroParsingBehavior
source§impl Default for MacroParsingBehavior
impl Default for MacroParsingBehavior
source§impl PartialEq<MacroParsingBehavior> for MacroParsingBehavior
impl PartialEq<MacroParsingBehavior> for MacroParsingBehavior
source§fn eq(&self, other: &MacroParsingBehavior) -> bool
fn eq(&self, other: &MacroParsingBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.