pub struct MoveTo {
pub destination: Point,
pub end_with_brake: bool,
}Expand description
A Behavior to move to the destination.
Fields§
§destination: Point§end_with_brake: boolWhether to stop at the end of the behavior.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MoveTo
impl RefUnwindSafe for MoveTo
impl Send for MoveTo
impl Sync for MoveTo
impl Unpin for MoveTo
impl UnsafeUnpin for MoveTo
impl UnwindSafe for MoveTo
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