Struct esl::RaceAttribute
source · pub struct RaceAttribute {
pub male: u32,
pub female: u32,
}
Fields§
§male: u32
§female: u32
Trait Implementations§
source§impl Clone for RaceAttribute
impl Clone for RaceAttribute
source§fn clone(&self) -> RaceAttribute
fn clone(&self) -> RaceAttribute
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 RaceAttribute
impl Debug for RaceAttribute
source§impl<'de> Deserialize<'de> for RaceAttribute
impl<'de> Deserialize<'de> for RaceAttribute
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 RaceAttribute
impl Index<Sex> for RaceAttribute
source§impl IndexMut<Sex> for RaceAttribute
impl IndexMut<Sex> for RaceAttribute
source§impl PartialEq for RaceAttribute
impl PartialEq for RaceAttribute
source§fn eq(&self, other: &RaceAttribute) -> bool
fn eq(&self, other: &RaceAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RaceAttribute
impl Serialize for RaceAttribute
impl Eq for RaceAttribute
impl StructuralEq for RaceAttribute
impl StructuralPartialEq for RaceAttribute
Auto Trait Implementations§
impl RefUnwindSafe for RaceAttribute
impl Send for RaceAttribute
impl Sync for RaceAttribute
impl Unpin for RaceAttribute
impl UnwindSafe for RaceAttribute
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