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 for MacroParsingBehavior
impl PartialEq for MacroParsingBehavior
impl Copy for MacroParsingBehavior
impl Eq for MacroParsingBehavior
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more