pub enum RunnerType {
Show 15 variants
Npm,
Bun,
Yarn,
Pnpm,
Make,
Cargo,
Flutter,
Dart,
Turbo,
Poetry,
Pdm,
Just,
Deno,
Maven,
DotNet,
}Expand description
The type of task runner detected
Variants§
Implementations§
Source§impl RunnerType
impl RunnerType
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Returns a human-readable display name for the runner type
Sourcepub fn color_code(&self) -> u8
pub fn color_code(&self) -> u8
Get a suggested terminal color for this runner type
Trait Implementations§
Source§impl Clone for RunnerType
impl Clone for RunnerType
Source§fn clone(&self) -> RunnerType
fn clone(&self) -> RunnerType
Returns a duplicate 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 RunnerType
impl Debug for RunnerType
Source§impl<'de> Deserialize<'de> for RunnerType
impl<'de> Deserialize<'de> for RunnerType
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 Display for RunnerType
impl Display for RunnerType
Source§impl Hash for RunnerType
impl Hash for RunnerType
Source§impl PartialEq for RunnerType
impl PartialEq for RunnerType
Source§impl Serialize for RunnerType
impl Serialize for RunnerType
impl Copy for RunnerType
impl Eq for RunnerType
impl StructuralPartialEq for RunnerType
Auto Trait Implementations§
impl Freeze for RunnerType
impl RefUnwindSafe for RunnerType
impl Send for RunnerType
impl Sync for RunnerType
impl Unpin for RunnerType
impl UnwindSafe for RunnerType
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.