pub struct CultureDistribution {
pub western_us: f64,
pub hispanic: f64,
pub german: f64,
pub french: f64,
pub chinese: f64,
pub japanese: f64,
pub indian: f64,
}Expand description
Distribution of name cultures for generation.
Fields§
§western_us: f64§hispanic: f64§german: f64§french: f64§chinese: f64§japanese: f64§indian: f64Trait Implementations§
Source§impl Clone for CultureDistribution
impl Clone for CultureDistribution
Source§fn clone(&self) -> CultureDistribution
fn clone(&self) -> CultureDistribution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CultureDistribution
impl Debug for CultureDistribution
Source§impl Default for CultureDistribution
impl Default for CultureDistribution
Source§impl<'de> Deserialize<'de> for CultureDistribution
impl<'de> Deserialize<'de> for CultureDistribution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CultureDistribution
impl RefUnwindSafe for CultureDistribution
impl Send for CultureDistribution
impl Sync for CultureDistribution
impl Unpin for CultureDistribution
impl UnwindSafe for CultureDistribution
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