fn write_struct<W>(registry: &Registry, dest: &mut W) -> io::Result<()>
where
    W: io::Write,
{
    writeln!(
        dest,
        "
        #[allow(non_camel_case_types, non_snake_case, dead_code)]
        #[derive(Copy, Clone)]
        pub struct {api};",
        api = super::gen_struct_name(registry.api),
    )
}
/// Creates a stub structure.
///
/// The name of the struct corresponds to the namespace.
Creates a stub structure.
The name of the struct corresponds to the namespace.
Creates a stub structure . The name of the struct corresponds to the namespace .
fn write_struct<W>(registry: &Registry, dest: &mut W) -> io::Result<()>
where
    W: io::Write,
{
    writeln!(
        dest,
        "
        #[allow(non_camel_case_types, non_snake_case, dead_code)]
        #[derive(Copy, Clone)]
        pub struct {api};",
        api = super::gen_struct_name(registry.api),
    )
}
fn write_struct < W > ( registry : & Registry , dest : & mut W ) -> io :: Result < ( ) > where W : io :: Write , { writeln ! ( dest " " api super gen_struct_name ( registry api ) ) }
Creates a stub structure.
Creates a stub structure .
registry
&Registry
dest
&mut W