pub enum ProjectKind {
Show 32 variants
Cargo,
Go,
Elixir {
escript: bool,
},
Python {
uv: bool,
},
Node {
manager: NodePM,
},
Kotlin {
build: KotlinBuild,
},
Gradle {
wrapper: bool,
},
Maven,
Ruby,
Swift,
Xcode {
workspace: bool,
},
Zig,
DotNet {
sln: bool,
},
Php,
Dart {
flutter: bool,
},
Sbt,
Haskell {
stack: bool,
},
Clojure {
lein: bool,
},
Rebar,
Dune,
Perl,
Julia,
R {
renv: bool,
},
Nim,
Crystal,
Vlang,
Gleam,
Lua,
Bazel,
Meson,
CMake,
Make,
}Expand description
A detected project type with ecosystem-specific metadata.
Variants§
Cargo
Go
Elixir
Python
Node
Kotlin
Fields
§
build: KotlinBuildGradle
Maven
Ruby
Swift
Xcode
Zig
DotNet
Php
Dart
Sbt
Haskell
Clojure
Rebar
Dune
Perl
Julia
R
Nim
Crystal
Vlang
Gleam
Lua
Bazel
Meson
CMake
Make
Implementations§
Source§impl ProjectKind
impl ProjectKind
Sourcepub fn detected_file(&self) -> &'static str
pub fn detected_file(&self) -> &'static str
The file that triggered detection (e.g. “Cargo.toml”, “package.json”).
Sourcepub fn artifact_dirs(&self) -> &'static [&'static str]
pub fn artifact_dirs(&self) -> &'static [&'static str]
Directories containing build artifacts for this project type.
Trait Implementations§
Source§impl Clone for ProjectKind
impl Clone for ProjectKind
Source§fn clone(&self) -> ProjectKind
fn clone(&self) -> ProjectKind
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 ProjectKind
impl Debug for ProjectKind
Source§impl PartialEq for ProjectKind
impl PartialEq for ProjectKind
impl Eq for ProjectKind
impl StructuralPartialEq for ProjectKind
Auto Trait Implementations§
impl Freeze for ProjectKind
impl RefUnwindSafe for ProjectKind
impl Send for ProjectKind
impl Sync for ProjectKind
impl Unpin for ProjectKind
impl UnsafeUnpin for ProjectKind
impl UnwindSafe for ProjectKind
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