StatementNode

Trait StatementNode 

Source
pub trait StatementNode: Expr { }
Expand description

Haskell-like “list” elements (either the end of the list or a cons).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S: Expr<Return = (), Scope = Scope>, NextStatement: StatementNode<Scope = Scope>, Scope> StatementNode for StatementList<S, NextStatement, Scope>

Source§

impl<S: Expr<Scope = Scope>, Scope> StatementNode for ImplicitReturn<S, Scope>

Source§

impl<Scope> StatementNode for EndList<Scope>