winrt_gen 0.7.2

Code generation for the winrt crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::row::Row;
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)
    }
}