pub enum TsTemplatePart {
Text(String),
Expr(TsExpr),
}Expand description
A segment of a template literal.
Variants§
Trait Implementations§
Source§impl Clone for TsTemplatePart
impl Clone for TsTemplatePart
Source§fn clone(&self) -> TsTemplatePart
fn clone(&self) -> TsTemplatePart
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 TsTemplatePart
impl Debug for TsTemplatePart
Source§impl PartialEq for TsTemplatePart
impl PartialEq for TsTemplatePart
impl StructuralPartialEq for TsTemplatePart
Auto Trait Implementations§
impl Freeze for TsTemplatePart
impl RefUnwindSafe for TsTemplatePart
impl Send for TsTemplatePart
impl Sync for TsTemplatePart
impl Unpin for TsTemplatePart
impl UnsafeUnpin for TsTemplatePart
impl UnwindSafe for TsTemplatePart
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