1 2 3 4 5 6 7 8 9 10
use crate::*; #[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) } }
1 2 3 4 5 6 7 8 9 10
use crate::*; #[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) } }