fn gen_allocate_interface_fields(interface_idents: &[Interface]) -> TokenStream {
    let base_fields = interface_idents
        .iter()
        .enumerate()
        .map(|(index, _)| quote::format_ident!("__{}", index));

    quote!(#(#base_fields,)*)
}
// Generate the vptr field idents needed in the instantiation syntax of the COM struct.
Generate the vptr field idents needed in the instantiation syntax of the COM struct.
Generate the vptr field idents needed in the instantiation syntax of the COM struct .
fn gen_allocate_interface_fields(interface_idents: &[Interface]) -> TokenStream {
    let base_fields = interface_idents
        .iter()
        .enumerate()
        .map(|(index, _)| quote::format_ident!("__{}", index));
    quote!(#(#base_fields,)*)
}
fn gen_allocate_interface_fields ( interface_idents : & [ Interface ] ) -> TokenStream { let base_fields = interface_idents . iter ( ) . enumerate ( ) . map ( | ( index , _ ) | quote :: format_ident ! ( " " index ) ) ; quote ! ( ( base_fields ) ) }
Generate the vptr field idents needed in the instantiation syntax of the COM struct.
Generate the vptr field idents needed in the instantiation syntax of the COM struct .
interface_idents
&[Interface]
interface_idents
&[Interface]