Struct initiative_core::world::npc::ethnicity::dragonborn::Ethnicity
source · pub struct Ethnicity;
Trait Implementations§
source§impl GenerateSimple for Ethnicity
impl GenerateSimple for Ethnicity
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)]
fn gen_fname_simple(rng: &mut impl Rng, gender: &Gender) -> String
fn gen_lname_simple(rng: &mut impl Rng) -> String
Auto Trait Implementations§
impl Freeze for Ethnicity
impl RefUnwindSafe for Ethnicity
impl Send for Ethnicity
impl Sync for Ethnicity
impl Unpin for Ethnicity
impl UnwindSafe for Ethnicity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more