Struct bindgen::Bindings
[−]
[src]
pub struct Bindings { /* fields omitted */ }
Contains the generated code.
Methods
impl Bindings
[src]
fn into_ast(self) -> Vec<P<Item>>
Get the generated code AST.
fn to_string(&self) -> String
Get the generated code in a String.
fn write_to_file<P: AsRef<Path>>(&self, path: P) -> Result<()>
Write the generated code in a file.
fn write<'a>(&self, writer: Box<Write + 'a>) -> Result<()>
Write the generated code in the provided Write
object.
Trait Implementations
impl Clone for Bindings
[src]
fn clone(&self) -> Bindings
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