[][src]Struct cbindgen::Bindings

pub struct Bindings {
    pub config: Config,
    // some fields omitted
}

A bindings header that can be written.

Fields

config: Config

Methods

impl Bindings[src]

pub fn struct_is_transparent(&self, path: &BindgenPath) -> bool[src]

pub fn struct_exists(&self, path: &BindgenPath) -> bool[src]

pub fn struct_field_names(&self, path: &BindgenPath) -> Rc<Vec<String>>[src]

pub fn write_to_file<P: AsRef<Path>>(&self, path: P) -> bool[src]

pub fn write_headers<F: Write>(&self, out: &mut SourceWriter<F>)[src]

pub fn write<F: Write>(&self, file: F)[src]

Auto Trait Implementations

impl !Send for Bindings

impl !Sync for Bindings

impl Unpin for Bindings

impl UnwindSafe for Bindings

impl !RefUnwindSafe for Bindings

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]