fedimint_derive

Function extract_variants_with_indices

Source
pub(crate) fn extract_variants_with_indices(
    input_variants: Vec<Variant>,
) -> Vec<(Option<u64>, Variant)>
Expand description

Processes all variants in a Punctuated list extracting any specified index.