pub enum AgentEditor {
Cursor,
Windsurf,
Antigravity,
Cline,
Copilot,
AgentsMd,
}Expand description
Editors whose agents read per-repository rule files.
Claude Code is deliberately absent: its skill installs globally (devp skill,
devp setup), so there is nothing to write into individual repositories.
Variants§
Cursor
.cursor/rules/dev-prune.mdc
Windsurf
.windsurf/rules/dev-prune.md
Antigravity
.agent/rules/dev-prune.md (Antigravity)
Cline
.clinerules/dev-prune.md
Copilot
.github/copilot-instructions.md, as a marked block
AgentsMd
AGENTS.md, as a marked block — the cross-tool convention (Codex, Jules,
Amp, OpenCode, Antigravity and others read it)
Trait Implementations§
Source§impl Clone for AgentEditor
impl Clone for AgentEditor
Source§fn clone(&self) -> AgentEditor
fn clone(&self) -> AgentEditor
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 AgentEditor
Source§impl Debug for AgentEditor
impl Debug for AgentEditor
Source§impl ValueEnum for AgentEditor
impl ValueEnum for AgentEditor
Auto Trait Implementations§
impl Freeze for AgentEditor
impl RefUnwindSafe for AgentEditor
impl Send for AgentEditor
impl Sync for AgentEditor
impl Unpin for AgentEditor
impl UnsafeUnpin for AgentEditor
impl UnwindSafe for AgentEditor
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more