Enum parse_js::ast::LiteralTemplatePart
source · pub enum LiteralTemplatePart {
Substitution(NodeId),
String(SourceRange),
}
Variants
Substitution(NodeId)
String(SourceRange)
Trait Implementations
sourceimpl Clone for LiteralTemplatePart
impl Clone for LiteralTemplatePart
sourcefn clone(&self) -> LiteralTemplatePart
fn clone(&self) -> LiteralTemplatePart
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for LiteralTemplatePart
impl !Send for LiteralTemplatePart
impl !Sync for LiteralTemplatePart
impl Unpin for LiteralTemplatePart
impl UnwindSafe for LiteralTemplatePart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more