Struct resast::expr::TaggedTemplateExpr
source · [−]pub struct TaggedTemplateExpr<'a> {
pub tag: Box<Expr<'a>>,
pub quasi: TemplateLit<'a>,
}
Expand description
A Template literal preceded by a function identifier see MDN for more details
Fields
tag: Box<Expr<'a>>
quasi: TemplateLit<'a>
Trait Implementations
sourceimpl<'a> Clone for TaggedTemplateExpr<'a>
impl<'a> Clone for TaggedTemplateExpr<'a>
sourcefn clone(&self) -> TaggedTemplateExpr<'a>
fn clone(&self) -> TaggedTemplateExpr<'a>
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 more
sourceimpl<'a> Debug for TaggedTemplateExpr<'a>
impl<'a> Debug for TaggedTemplateExpr<'a>
sourceimpl<'a> From<TaggedTemplateExpr<'a>> for TaggedTemplateExpr<'a>
impl<'a> From<TaggedTemplateExpr<'a>> for TaggedTemplateExpr<'a>
sourcefn from(other: TaggedTemplateExpr<'a>) -> Self
fn from(other: TaggedTemplateExpr<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<TaggedTemplateExpr<'a>> for TaggedTemplateExpr<'a>
impl<'a> PartialEq<TaggedTemplateExpr<'a>> for TaggedTemplateExpr<'a>
sourcefn eq(&self, other: &TaggedTemplateExpr<'a>) -> bool
fn eq(&self, other: &TaggedTemplateExpr<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> StructuralPartialEq for TaggedTemplateExpr<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TaggedTemplateExpr<'a>
impl<'a> Send for TaggedTemplateExpr<'a>
impl<'a> Sync for TaggedTemplateExpr<'a>
impl<'a> Unpin for TaggedTemplateExpr<'a>
impl<'a> UnwindSafe for TaggedTemplateExpr<'a>
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