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§

source

fn syllable_fname_count_f() -> &'static [(u8, usize)]

source

fn syllable_fname_first_f() -> &'static [(&'static str, usize)]

source

fn syllable_fname_last_f() -> &'static [(&'static str, usize)]

source

fn syllable_fname_count_m() -> &'static [(u8, usize)]

source

fn syllable_fname_first_m() -> &'static [(&'static str, usize)]

source

fn syllable_fname_last_m() -> &'static [(&'static str, usize)]

source

fn syllable_fname_count() -> &'static [(u8, usize)]

source

fn syllable_fname_first() -> &'static [(&'static str, usize)]

source

fn syllable_fname_last() -> &'static [(&'static str, usize)]

source

fn syllable_fname_middle() -> &'static [(&'static str, usize)]

source

fn syllable_lname_count() -> &'static [(u8, usize)]

source

fn syllable_lname_first() -> &'static [(&'static str, usize)]

source

fn syllable_lname_middle() -> &'static [(&'static str, usize)]

source

fn syllable_lname_last() -> &'static [(&'static str, usize)]

source

fn compound_word_probability() -> f64

source

fn word_lname_first() -> &'static [(&'static str, usize)]

source

fn word_lname_last() -> &'static [(&'static str, usize)]

Provided Methods§

source

fn gen_fname_simple(rng: &mut impl Rng, gender: &Gender) -> String

source

fn gen_lname_simple(rng: &mut impl Rng) -> String

Object Safety§

This trait is not object safe.

Implementors§

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::dragonborn::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::dwarvish::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::elvish::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::gnomish::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::halfling::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::human::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::orcish::Ethnicity

source§

impl GenerateSimple for initiative_core::world::npc::ethnicity::tiefling::Ethnicity