Enum koto_parser::StringNode [−][src]
pub enum StringNode {
Literal(ConstantIndex),
Expr(AstIndex),
}
Expand description
A node in a string definition
Variants
Literal(ConstantIndex)
Tuple Fields
A string literal
Expr(AstIndex)
Tuple Fields
0: AstIndex
An expression that should be evaluated and inserted into the string
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StringNode
impl Send for StringNode
impl Sync for StringNode
impl Unpin for StringNode
impl UnwindSafe for StringNode
Blanket Implementations
Mutably borrows from an owned value. Read more