Struct resast::expr::TemplateElement [−][src]
Expand description
The text part of a TemplateLiteral
Fields
tail: bool
cooked: Cow<'a, str>
The non-quoted version
raw: Cow<'a, str>
The quoted version
Implementations
Trait Implementations
Performs the conversion.
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<'a> RefUnwindSafe for TemplateElement<'a>
impl<'a> Send for TemplateElement<'a>
impl<'a> Sync for TemplateElement<'a>
impl<'a> Unpin for TemplateElement<'a>
impl<'a> UnwindSafe for TemplateElement<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more