pub fn extract_function_name(source: &str) -> Option<String>
Find the first pub fn or fn name in the source.
pub fn
fn