Struct bindgen::CodegenConfig
[−]
[src]
pub struct CodegenConfig {
pub functions: bool,
pub types: bool,
pub vars: bool,
pub methods: bool,
pub constructors: bool,
}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.
Methods
impl CodegenConfig[src]
Trait Implementations
impl Debug for CodegenConfig[src]
impl Clone for CodegenConfig[src]
fn clone(&self) -> CodegenConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more