pub struct Language {
pub compile_args: Option<&'static str>,
pub run_args: &'static str,
pub extension: &'static str,
}Fields§
§compile_args: Option<&'static str>§run_args: &'static str§extension: &'static strImplementations§
Source§impl Language
impl Language
pub fn get_compile_command(&self, main: &str) -> Option<Command>
pub fn get_run_command(&self, main: &str) -> Command
pub fn is_interpreted(&self) -> bool
Trait Implementations§
impl Copy for Language
Auto Trait Implementations§
impl Freeze for Language
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnsafeUnpin for Language
impl UnwindSafe for Language
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