pub struct TemplateLit { /* private fields */ }
Expand description
Template literals are string literals allowing embedded expressions.
More information:
Implementations
sourceimpl TemplateLit
impl TemplateLit
pub fn new(elements: Vec<TemplateElement>) -> Self
Trait Implementations
sourceimpl Clone for TemplateLit
impl Clone for TemplateLit
sourcefn clone(&self) -> TemplateLit
fn clone(&self) -> TemplateLit
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 moresourceimpl Debug for TemplateLit
impl Debug for TemplateLit
sourceimpl Display for TemplateLit
impl Display for TemplateLit
sourceimpl Drop for TemplateLit
impl Drop for TemplateLit
sourceimpl Executable for TemplateLit
impl Executable for TemplateLit
sourceimpl Finalize for TemplateLit
impl Finalize for TemplateLit
sourceimpl PartialEq<TemplateLit> for TemplateLit
impl PartialEq<TemplateLit> for TemplateLit
sourcefn eq(&self, other: &TemplateLit) -> bool
fn eq(&self, other: &TemplateLit) -> bool
sourceimpl Trace for TemplateLit
impl Trace for TemplateLit
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for TemplateLit
Auto Trait Implementations
impl RefUnwindSafe for TemplateLit
impl !Send for TemplateLit
impl !Sync for TemplateLit
impl Unpin for TemplateLit
impl UnwindSafe for TemplateLit
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