Struct boids::flock::Flock [−][src]
pub struct Flock<T: Boid<T, U>, U: BaseNum + Float> {
pub boids: Vec<T>,
pub goal_separation: U,
pub goal_alignment: U,
pub goal_cohesion: U,
pub target: Option<Vector3<U>>,
}
Fields
boids: Vec<T>
goal_separation: U
goal_alignment: U
goal_cohesion: U
target: Option<Vector3<U>>
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Flock<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> UnwindSafe for Flock<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more