pub enum RuleFormatArg {
Agents,
Cursor,
Windsurf,
Copilot,
Cline,
Claude,
Jetbrains,
Amazonq,
Auto,
}Expand description
CLI-facing rule format selector (mirrors RuleFormat for clap).
Variants§
Agents
Canonical agent-rules-spec format.
Cursor
Cursor .cursor/rules format.
Windsurf
Windsurf .windsurf/rules format.
Copilot
GitHub Copilot .github/instructions format.
Cline
Cline .clinerules format.
Claude
Claude .claude/rules format.
Jetbrains
JetBrains AI Assistant format.
Amazonq
Amazon Q format.
Auto
Detect format from frontmatter or path.
Trait Implementations§
Source§impl Clone for RuleFormatArg
impl Clone for RuleFormatArg
Source§fn clone(&self) -> RuleFormatArg
fn clone(&self) -> RuleFormatArg
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 RuleFormatArg
Source§impl Debug for RuleFormatArg
impl Debug for RuleFormatArg
impl Eq for RuleFormatArg
Source§impl From<RuleFormatArg> for RuleFormat
impl From<RuleFormatArg> for RuleFormat
Source§fn from(arg: RuleFormatArg) -> Self
fn from(arg: RuleFormatArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuleFormatArg
impl PartialEq for RuleFormatArg
Source§fn eq(&self, other: &RuleFormatArg) -> bool
fn eq(&self, other: &RuleFormatArg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuleFormatArg
Source§impl ValueEnum for RuleFormatArg
impl ValueEnum for RuleFormatArg
Auto Trait Implementations§
impl Freeze for RuleFormatArg
impl RefUnwindSafe for RuleFormatArg
impl Send for RuleFormatArg
impl Sync for RuleFormatArg
impl Unpin for RuleFormatArg
impl UnsafeUnpin for RuleFormatArg
impl UnwindSafe for RuleFormatArg
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.