Struct cbindgen::Builder
[−]
[src]
pub struct Builder { /* fields omitted */ }
A builder for generating a bindings header.
Methods
impl Builder
[src]
fn new() -> Builder
[src]
fn with_header<S: AsRef<str>>(self, header: S) -> Builder
[src]
fn with_trailer<S: AsRef<str>>(self, trailer: S) -> Builder
[src]
fn with_include_guard<S: AsRef<str>>(self, include_guard: S) -> Builder
[src]
fn with_autogen_warning<S: AsRef<str>>(self, autogen_warning: S) -> Builder
[src]
fn with_include_version(self, include_version: bool) -> Builder
[src]
fn with_namespace<S: AsRef<str>>(self, namespace: S) -> Builder
[src]
fn with_namespaces<S: AsRef<str>>(self, namespaces: &[S]) -> Builder
[src]
fn with_braces(self, braces: Braces) -> Builder
[src]
fn with_line_length(self, line_length: usize) -> Builder
[src]
fn with_tab_width(self, tab_width: usize) -> Builder
[src]
fn with_language(self, language: Language) -> Builder
[src]
fn with_parse_deps(self, parse_deps: bool) -> Builder
[src]
fn with_parse_include<S: AsRef<str>>(self, include: &[S]) -> Builder
[src]
fn with_parse_exclude<S: AsRef<str>>(self, exclude: &[S]) -> Builder
[src]
fn with_parse_expand<S: AsRef<str>>(self, expand: &[S]) -> Builder
[src]
fn with_generic_template_specialization(
self,
generic_template_specialization: bool
) -> Builder
[src]
self,
generic_template_specialization: bool
) -> Builder
fn with_documentation(self, documentation: bool) -> Builder
[src]
fn with_config(self, config: Config) -> Builder
[src]
fn with_std_types(self, std_types: bool) -> Builder
[src]
fn with_src(self, src: &Path) -> Builder
[src]
fn with_crate<P: AsRef<Path>>(self, lib_dir: P) -> Builder
[src]
fn with_crate_and_name<P: AsRef<Path>, S: AsRef<str>>(
self,
lib_dir: P,
binding_lib_name: S
) -> Builder
[src]
self,
lib_dir: P,
binding_lib_name: S
) -> Builder