pub struct ColonyStats {
pub tick: Tick,
pub agents_alive: usize,
pub agents_died: usize,
pub total_spawned: usize,
pub graph_nodes: usize,
pub graph_edges: usize,
pub total_signals: usize,
pub documents_total: usize,
pub documents_digested: usize,
}Expand description
Statistics about the colony.
Fields§
§tick: Tick§agents_alive: usize§agents_died: usize§total_spawned: usize§graph_nodes: usize§graph_edges: usize§total_signals: usize§documents_total: usize§documents_digested: usizeTrait Implementations§
Source§impl Clone for ColonyStats
impl Clone for ColonyStats
Source§fn clone(&self) -> ColonyStats
fn clone(&self) -> ColonyStats
Returns a duplicate 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 ColonyStats
impl Debug for ColonyStats
Auto Trait Implementations§
impl Freeze for ColonyStats
impl RefUnwindSafe for ColonyStats
impl Send for ColonyStats
impl Sync for ColonyStats
impl Unpin for ColonyStats
impl UnwindSafe for ColonyStats
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