pub struct LanguageCommands {
pub init: Option<CommandSpec>,
pub build: Option<CommandSpec>,
pub run: CommandSpec,
pub run_fallback: Option<CommandSpec>,
}Expand description
The commands used to scaffold, build and run a solution.
Fields§
§init: Option<CommandSpec>Scaffolding command, if the language needs more than an empty entry file.
build: Option<CommandSpec>Compilation command, if the language is compiled.
run: CommandSpecThe command that executes the solution.
run_fallback: Option<CommandSpec>An alternative to try if LanguageCommands::run’s program is missing.
Trait Implementations§
Source§impl Clone for LanguageCommands
impl Clone for LanguageCommands
Source§fn clone(&self) -> LanguageCommands
fn clone(&self) -> LanguageCommands
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LanguageCommands
impl Debug for LanguageCommands
impl Eq for LanguageCommands
Source§impl PartialEq for LanguageCommands
impl PartialEq for LanguageCommands
impl StructuralPartialEq for LanguageCommands
Auto Trait Implementations§
impl Freeze for LanguageCommands
impl RefUnwindSafe for LanguageCommands
impl Send for LanguageCommands
impl Sync for LanguageCommands
impl Unpin for LanguageCommands
impl UnsafeUnpin for LanguageCommands
impl UnwindSafe for LanguageCommands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.