Enum syntax::ast::PathParametersUnstable
[-] [+]
[src]
pub enum PathParameters { AngleBracketedParameters(AngleBracketedParameterData), ParenthesizedParameters(ParenthesizedParameterData), }
Variants
AngleBracketedParameters | |
ParenthesizedParameters |
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.