syn::item::parsing

Function parse_rest_of_fn

source
fn parse_rest_of_fn(
    input: ParseStream<'_>,
    attrs: Vec<Attribute>,
    vis: Visibility,
    sig: Signature,
) -> Result<ItemFn>