Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;
use crate::TypeReader;

#[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Debug)]
pub struct GenericParam(pub Row);

impl GenericParam {
    pub fn name<'a>(&self, reader: &'a TypeReader) -> &'a str {
        reader.str(self.0, 3)
    }
}