pub struct Interop { /* private fields */ }Expand description
Generates Python ctypes files, get this with InteropBuilder.๐
Implementationsยง
Sourceยงimpl Interop
impl Interop
Sourcepub fn builder() -> InteropBuilder
pub fn builder() -> InteropBuilder
Creates a new InteropBuilder.
Sourcepub fn write_to(&self, w: &mut IndentWriter<'_>) -> Result<(), Error>
pub fn write_to(&self, w: &mut IndentWriter<'_>) -> Result<(), Error>
Generates FFI binding code and writes them to the IndentWriter.
ยงErrors
Can result in an error if I/O failed.
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for Interop
impl RefUnwindSafe for Interop
impl Send for Interop
impl Sync for Interop
impl Unpin for Interop
impl UnwindSafe for Interop
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