Enum parse_js::ast::LiteralTemplatePart
source · pub enum LiteralTemplatePart {
Substitution(NodeId),
String(SourceRange),
}
Variants§
Substitution(NodeId)
String(SourceRange)
Trait Implementations§
source§impl Clone for LiteralTemplatePart
impl Clone for LiteralTemplatePart
source§fn clone(&self) -> LiteralTemplatePart
fn clone(&self) -> LiteralTemplatePart
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more