Struct esl::RaceParameter
source · pub struct RaceParameter {
pub male: f32,
pub female: f32,
}
Fields§
§male: f32
§female: f32
Trait Implementations§
source§impl Clone for RaceParameter
impl Clone for RaceParameter
source§fn clone(&self) -> RaceParameter
fn clone(&self) -> RaceParameter
Returns a copy 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 RaceParameter
impl Debug for RaceParameter
source§impl<'de> Deserialize<'de> for RaceParameter
impl<'de> Deserialize<'de> for RaceParameter
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
source§impl Index<Sex> for RaceParameter
impl Index<Sex> for RaceParameter
source§impl IndexMut<Sex> for RaceParameter
impl IndexMut<Sex> for RaceParameter
source§impl PartialEq for RaceParameter
impl PartialEq for RaceParameter
source§impl Serialize for RaceParameter
impl Serialize for RaceParameter
impl Eq for RaceParameter
Auto Trait Implementations§
impl RefUnwindSafe for RaceParameter
impl Send for RaceParameter
impl Sync for RaceParameter
impl Unpin for RaceParameter
impl UnwindSafe for RaceParameter
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