Enum MacroParsingBehavior

enum MacroParsingBehavior

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.

Implementations

impl Clone for MacroParsingBehavior

fn clone(self: &Self) -> MacroParsingBehavior

impl Copy for MacroParsingBehavior

impl Debug for MacroParsingBehavior

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for MacroParsingBehavior

fn default() -> MacroParsingBehavior

impl Eq for MacroParsingBehavior

impl Freeze for MacroParsingBehavior

impl PartialEq for MacroParsingBehavior

fn eq(self: &Self, other: &MacroParsingBehavior) -> bool

impl RefUnwindSafe for MacroParsingBehavior

impl Send for MacroParsingBehavior

impl StructuralPartialEq for MacroParsingBehavior

impl Sync for MacroParsingBehavior

impl Unpin for MacroParsingBehavior

impl UnwindSafe for MacroParsingBehavior

impl<T> Any for MacroParsingBehavior

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MacroParsingBehavior

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for MacroParsingBehavior

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for MacroParsingBehavior

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for MacroParsingBehavior

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for MacroParsingBehavior

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for MacroParsingBehavior

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for MacroParsingBehavior

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for MacroParsingBehavior

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>