Struct cbindgen::FunctionConfig [] [src]

pub struct FunctionConfig {
    pub prefix: Option<String>,
    pub postfix: Option<String>,
    pub args: Layout,
    pub rename_args: Option<RenameRule>,
}

Settings to apply to generated functions.

Fields

Optional text to output before each function declaration

Optional text to output after each function declaration

The style to layout the args

The rename rule to apply to function args

Trait Implementations

impl Debug for FunctionConfig
[src]

[src]

Formats the value using the given formatter.

impl Clone for FunctionConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for FunctionConfig
[src]

[src]

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