pub struct BehaviorWeight {
pub weight: f32,
pub output: SteeringOutput,
}Expand description
A weighted steering behavior entry.
Fields§
§weight: f32§output: SteeringOutputImplementations§
Source§impl BehaviorWeight
impl BehaviorWeight
pub fn new(weight: f32, output: SteeringOutput) -> Self
Auto Trait Implementations§
impl Freeze for BehaviorWeight
impl RefUnwindSafe for BehaviorWeight
impl Send for BehaviorWeight
impl Sync for BehaviorWeight
impl Unpin for BehaviorWeight
impl UnsafeUnpin for BehaviorWeight
impl UnwindSafe for BehaviorWeight
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