pub trait PathPlanner {
// Required method
fn plan(
&self,
start: Point2D,
goal: Point2D,
) -> Result<Path2D, RoboticsError>;
}Expand description
Trait for path planning algorithms
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".