pub struct PopulationKind {
pub desc: PopulationDescription,
pub herd: Option<usize>,
}Expand description
A population template’s description and herd template (index into the placed-object templates).
Fields§
§desc: PopulationDescriptionThe population description.
herd: Option<usize>The herd template it spawns, if any.
Trait Implementations§
Source§impl Clone for PopulationKind
impl Clone for PopulationKind
Source§fn clone(&self) -> PopulationKind
fn clone(&self) -> PopulationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PopulationKind
impl RefUnwindSafe for PopulationKind
impl Send for PopulationKind
impl Sync for PopulationKind
impl Unpin for PopulationKind
impl UnsafeUnpin for PopulationKind
impl UnwindSafe for PopulationKind
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