Enum syntex_syntax::ast::PathParameters
[−]
[src]
pub enum PathParameters { AngleBracketedParameters(AngleBracketedParameterData), ParenthesizedParameters(ParenthesizedParameterData), }
Variants
AngleBracketedParameters | The |
ParenthesizedParameters | The |
Methods
impl PathParameters
fn none() -> PathParameters
fn is_empty(&self) -> bool
fn has_lifetimes(&self) -> bool
fn has_types(&self) -> bool
fn types(&self) -> Vec<&P<Ty>>
Returns the types that the user wrote. Note that these do not necessarily map to the type parameters in the parenthesized case.