Struct interoptopus_backend_c::DocGenerator
source · pub struct DocGenerator<W> { /* private fields */ }
Implementations§
source§impl<W: CWriter> DocGenerator<W>
impl<W: CWriter> DocGenerator<W>
pub fn new(inventory: Inventory, w: W) -> Self
pub fn inventory(&self) -> &Inventory
pub fn write_types(&self, w: &mut IndentWriter<'_>) -> Result<(), Error>
pub fn write_type_definition( &self, w: &mut IndentWriter<'_>, the_type: &CType, known_function_pointers: &mut Vec<String> ) -> Result<(), Error>
pub fn write_functions(&self, w: &mut IndentWriter<'_>) -> Result<(), Error>
pub fn write_to(&self, w: &mut IndentWriter<'_>) -> Result<(), Error>
pub fn write_file<P: AsRef<Path>>(&self, file_name: P) -> Result<(), Error>
Auto Trait Implementations§
impl<W> RefUnwindSafe for DocGenerator<W>where
W: RefUnwindSafe,
impl<W> Send for DocGenerator<W>where
W: Send,
impl<W> Sync for DocGenerator<W>where
W: Sync,
impl<W> Unpin for DocGenerator<W>where
W: Unpin,
impl<W> UnwindSafe for DocGenerator<W>where
W: UnwindSafe,
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