pub struct FileModule { /* private fields */ }
Implementations§
Source§impl FileModule
impl FileModule
pub fn new(name: String) -> Self
pub fn write_header_file( &mut self, writer: impl FnOnce(&mut Self) -> Result, ) -> Result
pub fn write_source_file( &mut self, writer: impl FnOnce(&mut Self) -> Result, ) -> Result
pub fn name(&self) -> &str
pub fn c_file(&self) -> &str
pub fn h_file(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileModule
impl RefUnwindSafe for FileModule
impl Send for FileModule
impl Sync for FileModule
impl Unpin for FileModule
impl UnwindSafe for FileModule
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