pub struct Root { /* private fields */ }Trait Implementations§
source§impl AbstractTree for Root
impl AbstractTree for Root
source§fn from_syntax_node(source: &str, node: Node<'_>, context: &Map) -> Result<Self>
fn from_syntax_node(source: &str, node: Node<'_>, context: &Map) -> Result<Self>
Interpret the syntax tree at the given node and return the abstraction. Read more
source§fn run(&self, source: &str, context: &Map) -> Result<Value>
fn run(&self, source: &str, context: &Map) -> Result<Value>
Execute dust code by traversing the tree.
fn expected_type(&self, context: &Map) -> Result<Type>
Auto Trait Implementations§
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnwindSafe for Root
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