pub enum TemplateToken {
StaticText(StaticTextToken),
Interpolation(InterpolationToken),
}Variants§
StaticText(StaticTextToken)
Interpolation(InterpolationToken)
Trait Implementations§
Source§impl Clone for TemplateToken
impl Clone for TemplateToken
Source§fn clone(&self) -> TemplateToken
fn clone(&self) -> TemplateToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TemplateToken
impl Debug for TemplateToken
impl Eq for TemplateToken
Source§impl PartialEq for TemplateToken
impl PartialEq for TemplateToken
Source§fn eq(&self, other: &TemplateToken) -> bool
fn eq(&self, other: &TemplateToken) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TemplateToken
Auto Trait Implementations§
impl Freeze for TemplateToken
impl RefUnwindSafe for TemplateToken
impl Send for TemplateToken
impl Sync for TemplateToken
impl Unpin for TemplateToken
impl UnsafeUnpin for TemplateToken
impl UnwindSafe for TemplateToken
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