[−][src]Struct bindgen::CodegenConfig
A type used to indicate which kind of items do we have to generate.
TODO(emilio): Use bitflags!
Fields
functions: bool
Whether to generate functions.
types: bool
Whether to generate types.
vars: bool
Whether to generate constants.
methods: bool
Whether to generate methods.
constructors: bool
Whether to generate constructors.
destructors: bool
Whether to generate destructors.
Methods
impl CodegenConfig
[src]
pub fn all() -> Self
[src]
Generate all kinds of items.
pub fn nothing() -> Self
[src]
Generate nothing.
Trait Implementations
impl Clone for CodegenConfig
[src]
fn clone(&self) -> CodegenConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CodegenConfig
[src]
impl Default for CodegenConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for CodegenConfig
impl Send for CodegenConfig
impl Sync for CodegenConfig
impl Unpin for CodegenConfig
impl UnwindSafe for CodegenConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,