pub fn types(&self) -> Vec<&P<Ty>> {
        match *self {
            AngleBracketedParameters(ref data) => {
                data.types.iter().collect()
            }
            ParenthesizedParameters(ref data) => {
                data.inputs
                    .iter()
                    .chain(data.output.iter())
                    .collect()
            }
        }
    }
/// Returns the types that the user wrote. Note that these do not necessarily map to the type
/// parameters in the parenthesized case.
Returns the types that the user wrote. Note that these do not necessarily map to the type
parameters in the parenthesized case.
Returns the types that the user wrote . Note that these do not necessarily map to the type parameters in the parenthesized case .
pub fn types(&self) -> Vec<&P<Ty>> {
        match *self {
            AngleBracketedParameters(ref data) => {
                data.types.iter().collect()
            }
            ParenthesizedParameters(ref data) => {
                data.inputs
                    .iter()
                    .chain(data.output.iter())
                    .collect()
            }
        }
    }
pub fn types ( & self ) -> Vec < & P < Ty > > { match * self { AngleBracketedParameters ( ref data ) => { data . types . iter ( ) . collect ( ) } ParenthesizedParameters ( ref data ) => { data . inputs . iter ( ) . chain ( data . output . iter ( ) ) . collect ( ) } } }
Returns the types that the user wrote.
Returns the types that the user wrote .
&self