pub struct Action {
pub title: String,
pub span: Span,
pub children: Vec<Ast>,
}Expand description
An action node of the AST.
Fields§
§title: StringThe title of this action.
For example: “It should revert.”
span: SpanThe span that encompasses this node.
children: Vec<Ast>The children AST nodes of this node.
For now we only support action description nodes.
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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