Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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