pub struct MarsContext {
pub managed_root: PathBuf,
pub project_root: PathBuf,
}Expand description
Resolved context for a mars command — both the managed root and its parent project root.
Fields§
§managed_root: PathBufThe directory containing mars.toml (e.g. /project/.agents)
project_root: PathBufThe project directory (managed_root’s parent, e.g. /project)
Implementations§
Auto Trait Implementations§
impl Freeze for MarsContext
impl RefUnwindSafe for MarsContext
impl Send for MarsContext
impl Sync for MarsContext
impl Unpin for MarsContext
impl UnsafeUnpin for MarsContext
impl UnwindSafe for MarsContext
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