pub struct MoveResult2D {
pub position: (f64, f64),
pub finished: bool,
}Expand description
2D route planning result.
Fields§
§position: (f64, f64)New position after movement.
finished: boolWhether the agent reached the end of its route.
Trait Implementations§
Source§impl Clone for MoveResult2D
impl Clone for MoveResult2D
Source§fn clone(&self) -> MoveResult2D
fn clone(&self) -> MoveResult2D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoveResult2D
impl Debug for MoveResult2D
impl Copy for MoveResult2D
Auto Trait Implementations§
impl Freeze for MoveResult2D
impl RefUnwindSafe for MoveResult2D
impl Send for MoveResult2D
impl Sync for MoveResult2D
impl Unpin for MoveResult2D
impl UnsafeUnpin for MoveResult2D
impl UnwindSafe for MoveResult2D
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