[−][src]Function human_id::id
pub fn id<S>(separator: S, should_capitalize: bool) -> String where
S: Into<String>,
Generates a "human id", with the given string acting as the separator between the words.
use human_id::id; id("-", false); // tame-lions-retire id("", true); // ChattyWombatsCare