Struct cbindgen::ExportConfig [−][src]
pub struct ExportConfig { pub include: Vec<String>, pub exclude: Vec<String>, pub rename: HashMap<String, String>, pub prefix: Option<String>, pub item_types: Vec<ItemType>, }
Settings to apply when exporting items.
Fields
include: Vec<String>
A list of additional items not used by exported functions to include in the generated bindings
exclude: Vec<String>
A list of items to not include in the generated bindings
rename: HashMap<String, String>
Table of name conversions to apply to item names
prefix: Option<String>
A prefix to add before the name of every item
item_types: Vec<ItemType>
Types of items to generate.
Trait Implementations
impl Debug for ExportConfig
[src]
impl Debug for ExportConfig
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 ExportConfig
[src]
impl Clone for ExportConfig
fn clone(&self) -> ExportConfig
[src]
fn clone(&self) -> ExportConfig
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 ExportConfig
[src]
impl Default for ExportConfig
fn default() -> ExportConfig
[src]
fn default() -> ExportConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Sync for ExportConfig