#[non_exhaustive]pub enum ProjectKind {
Rust,
Java,
Node,
Python,
Go,
Unknown,
}Expand description
What kind of project a root looks like. Selects the language recipe and the task adapter, and names the project in agent context.
A root reports every kind it matches, not one: a repository holding both a
pom.xml and a package.json is both, and each side starts its own language session
on the first document it claims (ADR-0012).
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.
Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProjectKind
Source§impl Debug for ProjectKind
impl Debug for ProjectKind
Source§impl Default for ProjectKind
impl Default for ProjectKind
Source§fn default() -> ProjectKind
fn default() -> ProjectKind
Returns the “default value” for a type. Read more
impl Eq for ProjectKind
Source§impl PartialEq for ProjectKind
impl PartialEq 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
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.