[−][src]Struct cbindgen::Builder
A builder for generating a bindings header.
Methods
impl Builder
[src]
impl Builder
pub fn new() -> Builder | [src] |
pub fn with_header<S: AsRef<str>>(self, header: S) -> Builder | [src] |
pub fn with_no_includes(self) -> Builder | [src] |
pub fn with_include<S: AsRef<str>>(self, include: S) -> Builder | [src] |
pub fn with_sys_include<S: AsRef<str>>(self, include: S) -> Builder | [src] |
pub fn with_trailer<S: AsRef<str>>(self, trailer: S) -> Builder | [src] |
pub fn with_include_guard<S: AsRef<str>>(self, include_guard: S) -> Builder | [src] |
pub fn with_autogen_warning<S: AsRef<str>>(self, autogen_warning: S) -> Builder | [src] |
pub fn with_include_version(self, include_version: bool) -> Builder | [src] |
pub fn with_namespace<S: AsRef<str>>(self, namespace: S) -> Builder | [src] |
pub fn with_namespaces<S: AsRef<str>>(self, namespaces: &[S]) -> Builder | [src] |
pub fn with_braces(self, braces: Braces) -> Builder | [src] |
pub fn with_line_length(self, line_length: usize) -> Builder | [src] |
pub fn with_tab_width(self, tab_width: usize) -> Builder | [src] |
pub fn with_language(self, language: Language) -> Builder | [src] |
pub fn include_item<S: AsRef<str>>(self, item_name: S) -> Builder | [src] |
pub fn exclude_item<S: AsRef<str>>(self, item_name: S) -> Builder | [src] |
pub fn rename_item<S: AsRef<str>>(self, from: S, to: S) -> Builder | [src] |
pub fn with_item_prefix<S: AsRef<str>>(self, prefix: S) -> Builder | [src] |
pub fn with_parse_deps(self, parse_deps: bool) -> Builder | [src] |
pub fn with_parse_include<S: AsRef<str>>(self, include: &[S]) -> Builder | [src] |
pub fn with_parse_exclude<S: AsRef<str>>(self, exclude: &[S]) -> Builder | [src] |
pub fn with_parse_expand<S: AsRef<str>>(self, expand: &[S]) -> Builder | [src] |
pub fn with_parse_expand_all_features( | [src] |
pub fn with_parse_expand_default_features( | [src] |
pub fn with_parse_expand_features<S: AsRef<str>>( | [src] |
pub fn with_documentation(self, documentation: bool) -> Builder | [src] |
pub fn with_target_os_define( | [src] |
pub fn with_define( | [src] |
pub fn with_config(self, config: Config) -> Builder | [src] |
pub fn with_std_types(self, std_types: bool) -> Builder | [src] |
pub fn with_src<P: AsRef<Path>>(self, src: P) -> Builder | [src] |
pub fn with_crate<P: AsRef<Path>>(self, lib_dir: P) -> Builder | [src] |
pub fn with_crate_and_name<P: AsRef<Path>, S: AsRef<str>>( | [src] |
pub fn with_lockfile<P: AsRef<Path>>(self, lockfile: P) -> Builder | [src] |
pub fn generate(self) -> Result<Bindings, Error> | [src] |
Trait Implementations
impl Clone for Builder
[src]
impl Clone for Builder
fn clone(&self) -> Builder | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for Builder
[src]
impl Debug for Builder
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |