pub struct TemplateLit { /* private fields */ }Expand description
Template literals are string literals allowing embedded expressions.
More information:
Implementations§
Source§impl TemplateLit
impl TemplateLit
pub fn new(elements: Vec<TemplateElement>) -> Self
Trait Implementations§
Source§impl Clone for TemplateLit
impl Clone for TemplateLit
Source§fn clone(&self) -> TemplateLit
fn clone(&self) -> TemplateLit
Returns a duplicate 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 moreSource§impl Debug for TemplateLit
impl Debug for TemplateLit
Source§impl Display for TemplateLit
impl Display for TemplateLit
Source§impl Drop for TemplateLit
impl Drop for TemplateLit
Source§impl Executable for TemplateLit
impl Executable for TemplateLit
Source§impl PartialEq for TemplateLit
impl PartialEq for TemplateLit
Source§impl Trace for TemplateLit
impl Trace for TemplateLit
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for TemplateLit
Auto Trait Implementations§
impl Freeze for TemplateLit
impl RefUnwindSafe for TemplateLit
impl !Send for TemplateLit
impl !Sync for TemplateLit
impl Unpin for TemplateLit
impl UnwindSafe for TemplateLit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more