pub struct PathRequest {
pub start: Vec2,
pub end: Vec2,
pub agent_radius: f32,
pub heuristic: Heuristic,
pub allow_partial: bool,
}Expand description
A pathfinding request.
Fields§
§start: Vec2§end: Vec2§agent_radius: f32§heuristic: Heuristic§allow_partial: boolImplementations§
Trait Implementations§
Source§impl Clone for PathRequest
impl Clone for PathRequest
Source§fn clone(&self) -> PathRequest
fn clone(&self) -> PathRequest
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 moreAuto Trait Implementations§
impl Freeze for PathRequest
impl RefUnwindSafe for PathRequest
impl Send for PathRequest
impl Sync for PathRequest
impl Unpin for PathRequest
impl UnsafeUnpin for PathRequest
impl UnwindSafe for PathRequest
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