pub enum SwarmBehaviorType {
Flocking,
Foraging,
ProblemSolving,
InformationSharing,
CoordinatedEvolution,
Defense,
Exploration,
}
Expand description
Types of swarm behaviors
Variantsยง
Flocking
Flocking/herding behavior
Foraging
Foraging for resources
ProblemSolving
Collective problem solving
InformationSharing
Information sharing
CoordinatedEvolution
Coordinated evolution
Defense
Defensive behavior
Exploration
Exploration behavior
Trait Implementationsยง
Sourceยงimpl Clone for SwarmBehaviorType
impl Clone for SwarmBehaviorType
Sourceยงfn clone(&self) -> SwarmBehaviorType
fn clone(&self) -> SwarmBehaviorType
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 SwarmBehaviorType
impl Debug for SwarmBehaviorType
Sourceยงimpl<'de> Deserialize<'de> for SwarmBehaviorType
impl<'de> Deserialize<'de> for SwarmBehaviorType
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
Auto Trait Implementationsยง
impl Freeze for SwarmBehaviorType
impl RefUnwindSafe for SwarmBehaviorType
impl Send for SwarmBehaviorType
impl Sync for SwarmBehaviorType
impl Unpin for SwarmBehaviorType
impl UnwindSafe for SwarmBehaviorType
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