pub enum TemplateParam {
Type(String, Span),
Value(Box<Expr>, String, Option<Box<Expr>>, Span),
Template(String, Span),
}Variants§
Trait Implementations§
Source§impl Clone for TemplateParam
impl Clone for TemplateParam
Source§fn clone(&self) -> TemplateParam
fn clone(&self) -> TemplateParam
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 moreAuto Trait Implementations§
impl Freeze for TemplateParam
impl RefUnwindSafe for TemplateParam
impl Send for TemplateParam
impl Sync for TemplateParam
impl Unpin for TemplateParam
impl UnsafeUnpin for TemplateParam
impl UnwindSafe for TemplateParam
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