[][src]Function scottish_names::first_name

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

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);