Skip to main content

Planner

Trait Planner 

Source
pub trait Planner<const N: usize, R: ValidatorRet = ()>:
    Sized
    + Clone
    + Debug
    + Send
    + Sync
    + 'static {
    type Diagnostic: Display + Send + Sync;
    type Config;

    // Required method
    fn plan<E: Into<DekeError>, A: SRobotQLike<N, E>, B: SRobotQLike<N, E>, V: Validator<N, R>>(
        &self,
        config: &Self::Config,
        start: A,
        goal: B,
        validator: &V,
        ctx: &V::Context<'_>,
    ) -> (DekeResult<SRobotPath<N>>, Self::Diagnostic);
}

Required Associated Types§

Required Methods§

Source

fn plan<E: Into<DekeError>, A: SRobotQLike<N, E>, B: SRobotQLike<N, E>, V: Validator<N, R>>( &self, config: &Self::Config, start: A, goal: B, validator: &V, ctx: &V::Context<'_>, ) -> (DekeResult<SRobotPath<N>>, Self::Diagnostic)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§