pub struct CursorAdapter;Implementations§
Source§impl CursorAdapter
impl CursorAdapter
Sourcepub fn emit_hook_lossiness_diagnostics(
entries: &[ConfigEntry],
diag: &mut DiagnosticCollector,
)
pub fn emit_hook_lossiness_diagnostics( entries: &[ConfigEntry], diag: &mut DiagnosticCollector, )
Emit diagnostics for any hook entries in entries (all dropped for Cursor).
Called by the compiler before write_config_entries so that the
lossiness is reported even though hooks are silently skipped in write.
Trait Implementations§
Source§impl Debug for CursorAdapter
impl Debug for CursorAdapter
Source§impl TargetAdapter for CursorAdapter
impl TargetAdapter for CursorAdapter
Source§fn skill_variant_key(&self) -> Option<&str>
fn skill_variant_key(&self) -> Option<&str>
Skill variant harness key used when projecting skills to this target. Read more
Source§fn default_dest_path(&self, kind: ItemKind, name: &str) -> Option<DestPath>
fn default_dest_path(&self, kind: ItemKind, name: &str) -> Option<DestPath>
Default destination path for an item of the given kind and name. Read more
Source§fn emit_pre_write_diagnostics(
&self,
entries: &[ConfigEntry],
diag: &mut DiagnosticCollector,
)
fn emit_pre_write_diagnostics( &self, entries: &[ConfigEntry], diag: &mut DiagnosticCollector, )
Emit target-specific pre-write diagnostics (e.g., lossiness warnings). Read more
Source§fn write_config_entries(
&self,
entries: &[ConfigEntry],
target_dir: &Path,
) -> Result<Vec<PathBuf>, MarsError>
fn write_config_entries( &self, entries: &[ConfigEntry], target_dir: &Path, ) -> Result<Vec<PathBuf>, MarsError>
Write config entries (MCP servers, hooks) to this target’s config file. Read more
Auto Trait Implementations§
impl Freeze for CursorAdapter
impl RefUnwindSafe for CursorAdapter
impl Send for CursorAdapter
impl Sync for CursorAdapter
impl Unpin for CursorAdapter
impl UnsafeUnpin for CursorAdapter
impl UnwindSafe for CursorAdapter
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> 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