Enum MacroParsingBehavior

pub 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.

Trait Implementations

impl Clone for MacroParsingBehavior

fn clone(&self) -> MacroParsingBehavior

impl Copy for MacroParsingBehavior

impl Debug for MacroParsingBehavior

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

impl Default for MacroParsingBehavior

fn default() -> MacroParsingBehavior

impl Eq for MacroParsingBehavior

impl PartialEq for MacroParsingBehavior

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

impl StructuralPartialEq for MacroParsingBehavior

Auto Trait Implementations

impl Freeze for MacroParsingBehavior

impl RefUnwindSafe for MacroParsingBehavior

impl Send for MacroParsingBehavior

impl Sync for MacroParsingBehavior

impl Unpin for MacroParsingBehavior

impl UnsafeUnpin for MacroParsingBehavior

impl UnwindSafe for MacroParsingBehavior

Blanket Implementations

impl<T> Any for MacroParsingBehavior where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for MacroParsingBehavior where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for MacroParsingBehavior where T: ?Sized,

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

impl<T> CloneToUninit for MacroParsingBehavior where T: Clone,

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

impl<T> From<T> for MacroParsingBehavior

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for MacroParsingBehavior

impl<T> ToOwned for MacroParsingBehavior where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for MacroParsingBehavior where U: From<T>,

fn into(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<U> for MacroParsingBehavior where U: Into<T>,

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

impl<T, U> TryInto<U> for MacroParsingBehavior where U: TryFrom<T>,

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