[][src]Struct grid_search_cardinal_point_to_point::Context

pub struct Context { /* fields omitted */ }

Methods

impl Context[src]

pub fn new(size: Size) -> Self[src]

pub fn point_to_point_search_path<S, E>(
    &mut self,
    expand: E,
    point_to_point_search: &S,
    start: Coord,
    goal: Coord,
    path: &mut Path
) -> Result<(), NoPath> where
    S: CanEnter,
    E: Expand
[src]

pub fn point_to_point_search_first<S, E>(
    &mut self,
    expand: E,
    point_to_point_search: &S,
    start: Coord,
    goal: Coord
) -> Result<Option<CardinalDirection>, NoPath> where
    S: CanEnter,
    E: Expand
[src]

pub fn point_to_point_search_profile<S, E>(
    &mut self,
    expand: E,
    point_to_point_search: &S,
    start: Coord,
    goal: Coord
) -> (Profile, Result<(), NoPath>) where
    S: CanEnter,
    E: Expand
[src]

Auto Trait Implementations

impl Send for Context

impl Sync for Context

impl Unpin for Context

impl UnwindSafe for Context

impl RefUnwindSafe for Context

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,