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
sourceimpl Clone for MacroParsingBehavior
impl Clone for MacroParsingBehavior
sourcefn clone(&self) -> MacroParsingBehavior
fn clone(&self) -> MacroParsingBehavior
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MacroParsingBehavior
impl Debug for MacroParsingBehavior
sourceimpl Default for MacroParsingBehavior
impl Default for MacroParsingBehavior
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more