pub struct CopilotParser;Trait Implementations§
Source§impl AgentsParser for CopilotParser
impl AgentsParser for CopilotParser
Source§impl AgentsWriter for CopilotParser
impl AgentsWriter for CopilotParser
Source§impl Detector for CopilotParser
impl Detector for CopilotParser
Source§impl FrontMatterMapper for CopilotParser
impl FrontMatterMapper for CopilotParser
fn parse_permission(&self, token: &str) -> Permission
fn parse_frontmatter(&self, yaml: &str) -> Result<FrontMatter>
Source§impl FrontMatterWriter for CopilotParser
impl FrontMatterWriter for CopilotParser
Source§fn format_permission(&self, perm: &Permission) -> Option<String>
fn format_permission(&self, perm: &Permission) -> Option<String>
Convert a canonical
Permission to the agent-native token.
Returns None if the permission has no representation in this agent
(e.g. NotebookEdit for Copilot).Source§fn format_frontmatter(&self, fm: &FrontMatter) -> String
fn format_frontmatter(&self, fm: &FrontMatter) -> String
Serialise a
FrontMatter into a YAML string (without the --- fences).Source§impl SkillsParser for CopilotParser
impl SkillsParser for CopilotParser
Source§impl SkillsWriter for CopilotParser
impl SkillsWriter for CopilotParser
impl AgentParser for CopilotParser
Auto Trait Implementations§
impl Freeze for CopilotParser
impl RefUnwindSafe for CopilotParser
impl Send for CopilotParser
impl Sync for CopilotParser
impl Unpin for CopilotParser
impl UnsafeUnpin for CopilotParser
impl UnwindSafe for CopilotParser
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