Struct cbindgen::ConstantConfig [] [src]

pub struct ConstantConfig {
    pub allow_static_const: bool,
}

Settings to apply to generated constants.

Fields

Whether a generated constant can be a static const in C++ mode.

Trait Implementations

impl Debug for ConstantConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ConstantConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for ConstantConfig
[src]

[src]

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

Auto Trait Implementations