pub struct Context<'a> {
pub root: &'a Path,
pub scope: &'a Scope,
pub owner: &'a ArtifactId,
pub launcher: &'a dyn Launcher,
}Expand description
Where a fixed built-in runs: the workspace root, the scope it may read, the Artifact
that declares it, and the launcher that starts a help program.
Fields§
§root: &'a Path§scope: &'a Scope§owner: &'a ArtifactId§launcher: &'a dyn LauncherAuto Trait Implementations§
impl<'a> !RefUnwindSafe for Context<'a>
impl<'a> !UnwindSafe for Context<'a>
impl<'a> Freeze for Context<'a>
impl<'a> Send for Context<'a>
impl<'a> Sync for Context<'a>
impl<'a> Unpin for Context<'a>
impl<'a> UnsafeUnpin for Context<'a>
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