pub struct HelperContext {
pub source_root: PathBuf,
pub manifests: Arc<ManifestSet>,
pub current_product: String,
pub current_skill_id: String,
pub current_skill_required_clis: IndexMap<String, String>,
pub current_skill_state_out_mode: StateOutMode,
}Expand description
Snapshot of the resolution context that all four helpers share for a
single skill’s render. Cloned via Arc into each helper closure.
Fields§
§source_root: PathBuf§manifests: Arc<ManifestSet>§current_product: String§current_skill_id: String§current_skill_required_clis: IndexMap<String, String>§current_skill_state_out_mode: StateOutModeTrait Implementations§
Source§impl Clone for HelperContext
impl Clone for HelperContext
Auto Trait Implementations§
impl Freeze for HelperContext
impl RefUnwindSafe for HelperContext
impl Send for HelperContext
impl Sync for HelperContext
impl Unpin for HelperContext
impl UnsafeUnpin for HelperContext
impl UnwindSafe for HelperContext
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