Struct steering::SteeringBehavior
[−]
[src]
pub struct SteeringBehavior<T> where
T: Real, { pub enabled: bool, pub limiter: Option<Rc<RefCell<Limiter<T>>>>, pub owner: Rc<RefCell<Steerable<T>>>, pub target: Rc<RefCell<Steerable<T>>>, }
Common properties of steering behaviors
Fields
enabled: bool
is this behavior enabled
limiter: Option<Rc<RefCell<Limiter<T>>>>
limitations on speed and velocity calculations
owner: Rc<RefCell<Steerable<T>>>
target: Rc<RefCell<Steerable<T>>>
Trait Implementations
impl<T: Clone> Clone for SteeringBehavior<T> where
T: Real,
[src]
T: Real,
fn clone(&self) -> SteeringBehavior<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more