Function fix_getters_rules::function::try_rename_getter_suffix [−][src]
pub fn try_rename_getter_suffix(
suffix: &str,
returns_bool: impl Into<ReturnsBool>
) -> Result<NewName, RenameError>
Expand description
Attempts to apply getter name rules to this getter suffix.
The argument returns_bool
hints the renaming process when
the getter returns a unique bool
value. Use ReturnsBool::Maybe
if the return value is not known.