Skip to main content

dots_index

Function dots_index 

Source
pub(crate) fn dots_index(inputs: &Punctuated<FnArg, Comma>) -> Option<usize>
Expand description

Position of the first ... parameter (&Dots or LazyDots) in inputs (receiver included, as RArgumentBuilder counts them), without validation: for code that runs after find_dots_param has accepted the signature.