Struct Bindings

struct Bindings { ... }

Generated Rust bindings.

Implementations

impl Bindings

fn write_to_file<P: AsRef<Path>>(self: &Self, path: P) -> io::Result<()>

Write these bindings as source text to a file.

fn write<'a>(self: &Self, writer: Box<dyn Write + 'a>) -> io::Result<()>

Write these bindings as source text to the given Writeable.

impl Debug for Bindings

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Display for Bindings

fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result

impl Freeze for Bindings

impl RefUnwindSafe for Bindings

impl Send for Bindings

impl Sync for Bindings

impl Unpin for Bindings

impl UnwindSafe for Bindings

impl<T> Any for Bindings

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Bindings

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Bindings

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Bindings

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for Bindings

fn to_string(self: &Self) -> String

impl<T, U> Into for Bindings

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Bindings

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Bindings

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>