[][src]Function swipc_gen::gen_rust_code::named_iterator

fn named_iterator<'a, I>(
    it: I,
    is_output: bool
) -> impl Iterator<Item = (&'a Alias, String)> where
    I: IntoIterator<Item = &'a (Alias, Option<String>)>, 

Takes an iterator of potentially unnamed arguments/returns, and returns a named version (where the unnamed fields are named unknown_idx).