fn write_type_aliases<W>(registry: &Registry, dest: &mut W) -> io::Result<()>
where
    W: io::Write,
{
    writeln!(
        dest,
        r#"
        pub mod types {{
            #![allow(non_camel_case_types, non_snake_case, dead_code, missing_copy_implementations)]
    "#
    )?;

    super::gen_types(registry.api, dest)?;

    writeln!(
        dest,
        "
        }}
    "
    )
}
/// Creates a `types` module which contains all the type aliases.
///
/// See also `generators::gen_types`.
Creates a `types` module which contains all the type aliases.
Creates a ` types ` module which contains all the type aliases .
fn write_type_aliases<W>(registry: &Registry, dest: &mut W) -> io::Result<()>
where
    W: io::Write,
{
    writeln!(
        dest,
        r#"
        pub mod types {{
            #![allow(non_camel_case_types, non_snake_case, dead_code, missing_copy_implementations)]
    "#
    )?;
    super::gen_types(registry.api, dest)?;
    writeln!(
        dest,
        "
        }}
    "
    )
}
fn write_type_aliases < W > ( registry : & Registry , dest : & mut W ) -> io :: Result < ( ) > where W : io :: Write , { writeln ! ( dest r#"
        pub mod types {{
            #![allow(non_camel_case_types, non_snake_case, dead_code, missing_copy_implementations)]
    "# ) ? ; super :: gen_types ( registry . api , dest ) ? ; writeln ! ( dest " " ) }
Creates a `types` module which contains all the type aliases.
Creates a ` types ` module which contains all the type aliases .
registry
&Registry
dest
&mut W