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]

[src]

Generate all kinds of items.

[src]

Generate nothing.

Trait Implementations

impl Debug for CodegenConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CodegenConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for CodegenConfig
[src]

[src]

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

Auto Trait Implementations

impl Send for CodegenConfig

impl Sync for CodegenConfig