Skip to main content

renamed_key_name

Function renamed_key_name 

Source
fn renamed_key_name(old: &str, new_segment: &str) -> String
Expand description

The post-rename value of a (possibly compound) key name: for a member key "Type.method", replace the segment after the last .; for a bare name, the new name as-is.