pub struct Immigration {
pub timer: i64,
pub arrived: i32,
pub nomads: Vec<usize>,
}Expand description
ImmigrationComponent: until a band may come, the nomads arrived, the band.
Fields§
§timer: i64The time until a band may come.
arrived: i32The nomads that arrived.
nomads: Vec<usize>The band.
Trait Implementations§
Source§impl Clone for Immigration
impl Clone for Immigration
Source§fn clone(&self) -> Immigration
fn clone(&self) -> Immigration
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 moreSource§impl Debug for Immigration
impl Debug for Immigration
Source§impl Default for Immigration
impl Default for Immigration
Source§fn default() -> Immigration
fn default() -> Immigration
Returns the “default value” for a type. Read more
impl Eq for Immigration
Source§impl PartialEq for Immigration
impl PartialEq for Immigration
impl StructuralPartialEq for Immigration
Auto Trait Implementations§
impl Freeze for Immigration
impl RefUnwindSafe for Immigration
impl Send for Immigration
impl Sync for Immigration
impl Unpin for Immigration
impl UnsafeUnpin for Immigration
impl UnwindSafe for Immigration
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