pub struct Bindings {
pub config: Config,
/* private fields */
}
Expand description
A bindings header that can be written.
Fields§
§config: Config
Implementations§
source§impl Bindings
impl Bindings
pub fn struct_is_transparent(&self, path: &BindgenPath) -> bool
pub fn struct_exists(&self, path: &BindgenPath) -> bool
pub fn struct_field_names(&self, path: &BindgenPath) -> Rc<Vec<String>>
pub fn generate_depfile<P: AsRef<Path>>(&self, header_path: P, depfile_path: P)
pub fn write_to_file<P: AsRef<Path>>(&self, path: P) -> bool
pub fn write_headers<F: Write>(&self, out: &mut SourceWriter<'_, F>)
pub fn write<F: Write>(&self, file: F)
Auto Trait Implementations§
impl !RefUnwindSafe for Bindings
impl !Send for Bindings
impl !Sync for Bindings
impl Unpin for Bindings
impl UnwindSafe for Bindings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more