Struct initiative_core::world::demographics::GroupMapWrapper
source · struct GroupMapWrapper(HashMap<(Species, Ethnicity), u64>);
Tuple Fields§
§0: HashMap<(Species, Ethnicity), u64>
Trait Implementations§
source§impl Clone for GroupMapWrapper
impl Clone for GroupMapWrapper
source§fn clone(&self) -> GroupMapWrapper
fn clone(&self) -> GroupMapWrapper
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 GroupMapWrapper
impl Debug for GroupMapWrapper
source§impl<'de> Deserialize<'de> for GroupMapWrapper
impl<'de> Deserialize<'de> for GroupMapWrapper
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 From<GroupMapWrapper> for HashMap<(Species, Ethnicity), u64>
impl From<GroupMapWrapper> for HashMap<(Species, Ethnicity), u64>
source§fn from(value: GroupMapWrapper) -> Self
fn from(value: GroupMapWrapper) -> Self
Converts to this type from the input type.
source§impl From<GroupMapWrapper> for Vec<(Species, Ethnicity, u64)>
impl From<GroupMapWrapper> for Vec<(Species, Ethnicity, u64)>
source§fn from(value: GroupMapWrapper) -> Self
fn from(value: GroupMapWrapper) -> Self
Converts to this type from the input type.
source§impl PartialEq for GroupMapWrapper
impl PartialEq for GroupMapWrapper
source§fn eq(&self, other: &GroupMapWrapper) -> bool
fn eq(&self, other: &GroupMapWrapper) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupMapWrapper
impl Serialize for GroupMapWrapper
impl Eq for GroupMapWrapper
impl StructuralPartialEq for GroupMapWrapper
Auto Trait Implementations§
impl Freeze for GroupMapWrapper
impl RefUnwindSafe for GroupMapWrapper
impl Send for GroupMapWrapper
impl Sync for GroupMapWrapper
impl Unpin for GroupMapWrapper
impl UnwindSafe for GroupMapWrapper
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)