pub struct Arrive {
pub target: Vec2,
pub slowing_radius: f32,
pub stopping_dist: f32,
}Expand description
Like Seek but decelerates smoothly inside the slowing radius.
Fields§
§target: Vec2§slowing_radius: f32§stopping_dist: f32Implementations§
Auto Trait Implementations§
impl Freeze for Arrive
impl RefUnwindSafe for Arrive
impl Send for Arrive
impl Sync for Arrive
impl Unpin for Arrive
impl UnsafeUnpin for Arrive
impl UnwindSafe for Arrive
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