Function gl_generator::generators::gen_type_aliases [] [src]

pub fn gen_type_aliases<W>(namespace: &Ns, dest: &mut W) -> Result<()> where W: Write

Generates all the type aliases for a namespace.

Aliases are either pub type = ... or #[repr(C)] pub struct ... { ... } and contain all the things that we can't obtain from the XML files.