Enum bindgen::callbacks::MacroParsingBehavior
source · 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 ==
.impl Copy for MacroParsingBehavior
impl Eq for MacroParsingBehavior
impl StructuralEq for MacroParsingBehavior
impl StructuralPartialEq for MacroParsingBehavior
Auto Trait Implementations§
impl RefUnwindSafe for MacroParsingBehavior
impl Send for MacroParsingBehavior
impl Sync for MacroParsingBehavior
impl Unpin for MacroParsingBehavior
impl UnwindSafe for MacroParsingBehavior
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more