Trait initiative_core::world::npc::ethnicity::GenerateSimple
source · trait GenerateSimple {
Show 19 methods
// Required methods
fn syllable_fname_count_f() -> &'static [(u8, usize)];
fn syllable_fname_first_f() -> &'static [(&'static str, usize)];
fn syllable_fname_last_f() -> &'static [(&'static str, usize)];
fn syllable_fname_count_m() -> &'static [(u8, usize)];
fn syllable_fname_first_m() -> &'static [(&'static str, usize)];
fn syllable_fname_last_m() -> &'static [(&'static str, usize)];
fn syllable_fname_count() -> &'static [(u8, usize)];
fn syllable_fname_first() -> &'static [(&'static str, usize)];
fn syllable_fname_last() -> &'static [(&'static str, usize)];
fn syllable_fname_middle() -> &'static [(&'static str, usize)];
fn syllable_lname_count() -> &'static [(u8, usize)];
fn syllable_lname_first() -> &'static [(&'static str, usize)];
fn syllable_lname_middle() -> &'static [(&'static str, usize)];
fn syllable_lname_last() -> &'static [(&'static str, usize)];
fn compound_word_probability() -> f64;
fn word_lname_first() -> &'static [(&'static str, usize)];
fn word_lname_last() -> &'static [(&'static str, usize)];
// Provided methods
fn gen_fname_simple(rng: &mut impl Rng, gender: &Gender) -> String { ... }
fn gen_lname_simple(rng: &mut impl Rng) -> String { ... }
}
Required Methods§
fn syllable_fname_count_f() -> &'static [(u8, usize)]
fn syllable_fname_first_f() -> &'static [(&'static str, usize)]
fn syllable_fname_last_f() -> &'static [(&'static str, usize)]
fn syllable_fname_count_m() -> &'static [(u8, usize)]
fn syllable_fname_first_m() -> &'static [(&'static str, usize)]
fn syllable_fname_last_m() -> &'static [(&'static str, usize)]
fn syllable_fname_count() -> &'static [(u8, usize)]
fn syllable_fname_first() -> &'static [(&'static str, usize)]
fn syllable_fname_last() -> &'static [(&'static str, usize)]
fn syllable_fname_middle() -> &'static [(&'static str, usize)]
fn syllable_lname_count() -> &'static [(u8, usize)]
fn syllable_lname_first() -> &'static [(&'static str, usize)]
fn syllable_lname_middle() -> &'static [(&'static str, usize)]
fn syllable_lname_last() -> &'static [(&'static str, usize)]
fn compound_word_probability() -> f64
fn word_lname_first() -> &'static [(&'static str, usize)]
fn word_lname_last() -> &'static [(&'static str, usize)]
Provided Methods§
fn gen_fname_simple(rng: &mut impl Rng, gender: &Gender) -> String
fn gen_lname_simple(rng: &mut impl Rng) -> String
Object Safety§
This trait is not object safe.