pub enum TemplateSegment {
StaticText(String),
Interpolation(TemplateInterpolation),
}Variants§
StaticText(String)
Interpolation(TemplateInterpolation)
Trait Implementations§
Source§impl Clone for TemplateSegment
impl Clone for TemplateSegment
Source§fn clone(&self) -> TemplateSegment
fn clone(&self) -> TemplateSegment
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 TemplateSegment
impl Debug for TemplateSegment
Source§impl PartialEq for TemplateSegment
impl PartialEq for TemplateSegment
impl Eq for TemplateSegment
impl StructuralPartialEq for TemplateSegment
Auto Trait Implementations§
impl Freeze for TemplateSegment
impl RefUnwindSafe for TemplateSegment
impl Send for TemplateSegment
impl Sync for TemplateSegment
impl Unpin for TemplateSegment
impl UnsafeUnpin for TemplateSegment
impl UnwindSafe for TemplateSegment
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