pub trait Planner<const N: usize>:
Sized
+ Clone
+ Debug
+ Send
+ Sync
+ 'static {
type Diagnostic: Display + Send + Sync;
// Required method
fn plan<E: Into<DekeError>, A: SRobotQLike<N, E>, B: SRobotQLike<N, E>>(
&self,
start: A,
goal: B,
validators: &mut impl Validator<N>,
) -> (DekeResult<SRobotPath<N>>, Self::Diagnostic);
}Required Associated Types§
type Diagnostic: Display + Send + Sync
Required Methods§
fn plan<E: Into<DekeError>, A: SRobotQLike<N, E>, B: SRobotQLike<N, E>>( &self, start: A, goal: B, validators: &mut impl Validator<N>, ) -> (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.