Struct sailfish_compiler::Compiler
source · pub struct Compiler { /* private fields */ }
Implementations§
source§impl Compiler
impl Compiler
pub fn new() -> Self
pub fn with_config(config: Config) -> Self
pub fn resolve_file( &self, input: &Path ) -> Result<(TranslatedSource, CompilationReport), Error>
pub fn compile_file( &self, input: &Path, tsource: TranslatedSource, output: &Path ) -> Result<(), Error>
pub fn compile_str(&self, input: &str) -> Result<String, Error>
Trait Implementations§
Auto Trait Implementations§
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