Struct quad_compat_rhai::CustomExpr [−][src]
pub struct CustomExpr {
pub inputs: StaticVec<Expr>,
pub tokens: StaticVec<Identifier>,
pub scope_may_be_changed: bool,
pub self_terminated: bool,
}
Expand description
(internals) A custom syntax expression.
Exported under the internals
feature only.
Fields
inputs: StaticVec<Expr>
List of keywords.
tokens: StaticVec<Identifier>
List of tokens actually parsed.
scope_may_be_changed: bool
Is the current Scope
possibly modified by this custom statement
(e.g. introducing a new variable)?
self_terminated: bool
Is this custom syntax self-terminated?
Implementations
Is this custom syntax self-terminated (i.e. no need for a semicolon terminator)?
A self-terminated custom syntax always ends in $block$
, }
or ;
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CustomExpr
impl !Send for CustomExpr
impl !Sync for CustomExpr
impl Unpin for CustomExpr
impl !UnwindSafe for CustomExpr
Blanket Implementations
Mutably borrows from an owned value. Read more