names::three::lowercase

Function rand

Source
pub fn rand() -> &'static str
Expand description

Selects a random name out of all three-letter lowercase names.

§Returns

A &'static str that refers to a random constant in this crate.

§Example

use names::three::lowercase::rand;

// Could print any of the `amy`, `bob`, `cho`, ... names!
println!("{}", rand());