pub enum ScriptInterpreter {
Bash,
Cmd,
Powershell,
}
Expand description
The interpreter that the script will be called with.
Not all interpreters may be supported by any runner.
Variants§
Implementations§
Source§impl ScriptInterpreter
impl ScriptInterpreter
Sourcepub fn as_extension(&self) -> &'static str
pub fn as_extension(&self) -> &'static str
Returns the default file extension.
Trait Implementations§
Source§impl Clone for ScriptInterpreter
impl Clone for ScriptInterpreter
Source§fn clone(&self) -> ScriptInterpreter
fn clone(&self) -> ScriptInterpreter
Returns a copy of the value. Read more
1.0.0 · 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 ScriptInterpreter
impl Debug for ScriptInterpreter
Source§impl<'de> Deserialize<'de> for ScriptInterpreter
impl<'de> Deserialize<'de> for ScriptInterpreter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ScriptInterpreter
impl Serialize for ScriptInterpreter
impl Copy for ScriptInterpreter
Auto Trait Implementations§
impl Freeze for ScriptInterpreter
impl RefUnwindSafe for ScriptInterpreter
impl Send for ScriptInterpreter
impl Sync for ScriptInterpreter
impl Unpin for ScriptInterpreter
impl UnwindSafe for ScriptInterpreter
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