Enum cpp_demangle::ast::TemplateArg [−][src]
pub enum TemplateArg { Type(TypeHandle), Expression(Expression), SimpleExpression(ExprPrimary), ArgPack(Vec<TemplateArg>), }
A
<template-arg> ::= <type> # type or template
::= X <expression> E # expression
::= <expr-primary> # simple expressions
::= J <template-arg>* E # argument pack
Variants
Type(TypeHandle)
A type or template.
Expression(Expression)
An expression.
SimpleExpression(ExprPrimary)
A simple expression.
ArgPack(Vec<TemplateArg>)
An argument pack.
Trait Implementations
impl Clone for TemplateArg
[src]
impl Clone for TemplateArg
[src]fn clone(&self) -> TemplateArg
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<TemplateArg> for TemplateArg
[src]
impl PartialEq<TemplateArg> for TemplateArg
[src]