Struct cbindgen::Library
[−]
[src]
pub struct Library { /* fields omitted */ }
Methods
impl Library
[src]
fn new(
config: Config,
enums: BTreeMap<String, Enum>,
structs: BTreeMap<String, Struct>,
opaque_items: BTreeMap<String, OpaqueItem>,
typedefs: BTreeMap<String, Typedef>,
specializations: BTreeMap<String, Specialization>,
functions: BTreeMap<String, Function>
) -> Library
config: Config,
enums: BTreeMap<String, Enum>,
structs: BTreeMap<String, Struct>,
opaque_items: BTreeMap<String, OpaqueItem>,
typedefs: BTreeMap<String, Typedef>,
specializations: BTreeMap<String, Specialization>,
functions: BTreeMap<String, Function>
) -> Library
fn generate(self) -> Result<Bindings, String>
fn get_item(&self, p: &String) -> Option<Item>
Trait Implementations
impl Debug for Library
[src]
impl Clone for Library
[src]
fn clone(&self) -> Library
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more