pub struct ParsedScript {
pub steps: Vec<Step>,
pub exports: Exports,
pub func_docs: HashMap<String, (String, String)>,
}Expand description
Parsed script with single-file EXPORT metadata. steps is the
linear execution plan, exports the EXPORT names in source order
per kind, and func_docs maps top-level FUNC base names to
(summary, docs) collected from the immediately preceding #
comment block.
Fields§
§steps: Vec<Step>§exports: Exports§func_docs: HashMap<String, (String, String)>Trait Implementations§
Source§impl Clone for ParsedScript
impl Clone for ParsedScript
Source§impl Debug for ParsedScript
impl Debug for ParsedScript
Auto Trait Implementations§
impl Forget for ParsedScript
impl Freeze for ParsedScriptwhere
*const u8 is !null: Freeze,
PhantomData<Step>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(String, (String, String))>: Freeze,
impl Move for ParsedScript
impl RefUnwindSafe for ParsedScript
impl Send for ParsedScript
impl Sync for ParsedScript
impl Unpin for ParsedScript
impl UnsafeUnpin for ParsedScriptwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Step>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, (String, String))>: UnsafeUnpin,
impl UnwindSafe for ParsedScriptwhere
RawVecInner: UnwindSafe,
BoxRaw<GuardExpr>: UnwindSafe,
&'static TypeDescriptor: UnwindSafe,
*mut (): UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<StepKind>: UnwindSafe,
HashMap<String, (String, String)>: UnwindSafe,
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