Struct cbindgen::Config [] [src]

pub struct Config {
    pub header: Option<String>,
    pub trailer: Option<String>,
    pub include_guard: Option<String>,
    pub autogen_warning: Option<String>,
    pub include_version: bool,
    pub braces: Braces,
    pub line_length: usize,
    pub tab_width: usize,
    pub language: Language,
    pub function: FunctionConfig,
    pub structure: StructConfig,
    pub enumeration: EnumConfig,
}

Fields

Optional text to output at the beginning of the file

Optional text to output at the end of the file

Option name to use for an include guard

Optional text to output at major sections to deter manual editing

Include a comment with the version of cbindgen used to generate the file

The style to use for braces

The preferred length of a line, used for auto breaking function arguments

The amount of spaces in a tab

The language to output bindings for

The configuration options for functions

The configuration options for structs

The configuration options for enums

Methods

impl Config
[src]

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Config
[src]

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