Struct bindgen::CodegenConfig[][src]

pub struct CodegenConfig {
    pub functions: bool,
    pub types: bool,
    pub vars: bool,
    pub methods: bool,
    pub constructors: bool,
    pub destructors: bool,
}

A type used to indicate which kind of items do we have to generate.

TODO(emilio): Use bitflags!

Fields

Whether to generate functions.

Whether to generate types.

Whether to generate constants.

Whether to generate methods.

Whether to generate constructors.

Whether to generate destructors.

Methods

impl CodegenConfig
[src]

Generate all kinds of items.

Generate nothing.

Trait Implementations

impl Debug for CodegenConfig
[src]

Formats the value using the given formatter. Read more

impl Clone for CodegenConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for CodegenConfig
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations