Struct bindgen::Builder [] [src]

pub struct Builder<'a> { /* fields omitted */ }

Methods

impl<'a> Builder<'a>
[src]

Add a C header to parse.

Add a clang CLI argument.

Add a library to link.

Force bindgen to exit if a type is not recognized.

Control if the generated structs will derive Debug.

Control if bindgen should convert the C enums to rust enums or rust constants.

Set the logger to use.

Controls if bindgen should also print the parsed AST (for debug).

Generate the binding using the options previously set.

Trait Implementations

impl<'a> Clone for Builder<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Default for Builder<'a>
[src]

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