Function first_name

Source
pub fn first_name(sex: Sex) -> &'static str
Expand description

Return a random first name of the given Sex, e.g. Sex::Female or Sex::Male.

use scottish_names::*;

let n = first_name(Sex::Male);
println!("First name is {}", n);