Struct cbindgen::ConstantConfig [−][src]
pub struct ConstantConfig { pub allow_static_const: bool, }
Settings to apply to generated constants.
Fields
allow_static_const: bool
Whether a generated constant can be a static const in C++ mode.
Trait Implementations
impl Debug for ConstantConfig
[src]
impl Debug for ConstantConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ConstantConfig
[src]
impl Clone for ConstantConfig
fn clone(&self) -> ConstantConfig
[src]
fn clone(&self) -> ConstantConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ConstantConfig
[src]
impl Default for ConstantConfig
fn default() -> ConstantConfig
[src]
fn default() -> ConstantConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ConstantConfig
impl Send for ConstantConfig
impl Sync for ConstantConfig
impl Sync for ConstantConfig