pub struct AntigravityTarget;Expand description
Antigravity target for VS Code MCP extension.
File format: { "servers": { name: {command,args,env} OR {url,headers} } }
Trait Implementations§
Source§impl Target for AntigravityTarget
impl Target for AntigravityTarget
Source§fn global_path(&self) -> Result<PathBuf>
fn global_path(&self) -> Result<PathBuf>
Returns the path to the global (user-level) configuration file.
Source§fn project_path(&self, project_root: &Path) -> PathBuf
fn project_path(&self, project_root: &Path) -> PathBuf
Returns the path to the project-level configuration file.
Source§fn sync(&self, path: &Path, canon: &Canon, opts: &SyncOptions) -> Result<()>
fn sync(&self, path: &Path, canon: &Canon, opts: &SyncOptions) -> Result<()>
Syncs the canonical configuration to the target file. Read more
Source§fn sync_global(&self, canon: &Canon, opts: &SyncOptions) -> Result<()>
fn sync_global(&self, canon: &Canon, opts: &SyncOptions) -> Result<()>
Syncs to the global configuration file.
Source§fn sync_project(
&self,
project_root: &Path,
canon: &Canon,
opts: &SyncOptions,
) -> Result<()>
fn sync_project( &self, project_root: &Path, canon: &Canon, opts: &SyncOptions, ) -> Result<()>
Syncs to the project configuration file.
Auto Trait Implementations§
impl Freeze for AntigravityTarget
impl RefUnwindSafe for AntigravityTarget
impl Send for AntigravityTarget
impl Sync for AntigravityTarget
impl Unpin for AntigravityTarget
impl UnwindSafe for AntigravityTarget
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