#[non_exhaustive]pub enum RunnerSubcommand {
Show 24 variants
Run,
X,
Task,
Eval,
Repl,
Tool,
Exec,
V1Run,
V2Run,
NewRun,
V1Exec,
V2Exec,
NewExec,
Runghc,
Runhaskell,
Script,
R,
T,
Test,
Bench,
Ghci,
V1Repl,
V2Repl,
NewRepl,
}Expand description
A subcommand of a runner that starts a program the workspace chooses.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Run
run.
X
x.
Task
task.
Eval
eval.
Repl
repl.
Tool
tool.
Exec
exec.
V1Run
cabal’s v1-run.
V2Run
cabal’s v2-run.
NewRun
cabal’s new-run.
V1Exec
cabal’s v1-exec.
V2Exec
cabal’s v2-exec.
NewExec
cabal’s new-exec.
Runghc
stack’s runghc.
Runhaskell
stack’s runhaskell.
Script
stack’s script.
R
cargo’s r shorthand for run.
T
cargo’s t shorthand for test.
Test
test, which runs the project’s tests.
Bench
cargo’s bench.
Ghci
stack’s ghci.
V1Repl
cabal’s v1-repl.
V2Repl
cabal’s v2-repl.
NewRepl
cabal’s new-repl.
Implementations§
Trait Implementations§
Source§impl Clone for RunnerSubcommand
impl Clone for RunnerSubcommand
impl Copy for RunnerSubcommand
Source§impl Debug for RunnerSubcommand
impl Debug for RunnerSubcommand
Source§impl Display for RunnerSubcommand
impl Display for RunnerSubcommand
impl Eq for RunnerSubcommand
Source§impl PartialEq for RunnerSubcommand
impl PartialEq for RunnerSubcommand
impl StructuralPartialEq for RunnerSubcommand
Auto Trait Implementations§
impl Freeze for RunnerSubcommand
impl RefUnwindSafe for RunnerSubcommand
impl Send for RunnerSubcommand
impl Sync for RunnerSubcommand
impl Unpin for RunnerSubcommand
impl UnsafeUnpin for RunnerSubcommand
impl UnwindSafe for RunnerSubcommand
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.