1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::priv_prelude::*;

#[derive(Clone, Debug)]
pub struct GenericParams {
    pub parameters: AngleBrackets<Punctuated<Ident, CommaToken>>,
}

#[derive(Clone, Debug)]
pub struct GenericArgs {
    pub parameters: AngleBrackets<Punctuated<Ty, CommaToken>>,
}

impl Spanned for GenericArgs {
    fn span(&self) -> Span {
        self.parameters.span()
    }
}