Struct molecule_codegen::Compiler
source · pub struct Compiler { /* private fields */ }
Implementations§
source§impl Compiler
impl Compiler
pub fn new() -> Self
pub fn generate_code(&mut self, lang: Language) -> &mut Self
pub fn input_schema_file<P: AsRef<Path>>(&mut self, path: P) -> &mut Self
pub fn output_dir_set_default(&mut self) -> &mut Self
pub fn output_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Self
pub fn run(&mut self) -> Result<(), String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Compiler
impl RefUnwindSafe for Compiler
impl Send for Compiler
impl Sync for Compiler
impl Unpin for Compiler
impl UnwindSafe for Compiler
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