Struct edlang_session::Session
source · pub struct Session {
pub file_path: PathBuf,
pub debug_info: DebugInfo,
pub optlevel: OptLevel,
pub source: Source<String>,
pub library: bool,
pub target_dir: PathBuf,
pub output_file: PathBuf,
pub output_llvm: bool,
pub output_asm: bool,
}
Fields§
§file_path: PathBuf
§debug_info: DebugInfo
§optlevel: OptLevel
§source: Source<String>
§library: bool
§target_dir: PathBuf
The directory where to store artifacts and intermediate files such as object files.
output_file: PathBuf
§output_llvm: bool
§output_asm: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
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