pub struct Script {
pub bindings: Vec<(Arc<str>, AstNode)>,
pub final_expr: AstNode,
}Expand description
Represents a parsed HEL script with let bindings
Fields§
§bindings: Vec<(Arc<str>, AstNode)>Let bindings in the script (name -> expression)
final_expr: AstNodeFinal expression that must evaluate to a boolean
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Script
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnwindSafe for Script
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