pub fn demangled_leaf(full: &str) -> String
Return a friendly leaf name from a demangled full name. For Rust, strips the trailing ::hxxxxxxxx hash if present, then returns the last path segment.