Trait PathfinderClientExt

Source
pub trait PathfinderClientExt {
    // Required methods
    fn goto(&self, goal: impl Goal + 'static) -> impl Future<Output = ()>;
    fn start_goto(&self, goal: impl Goal + 'static);
    fn start_goto_without_mining(&self, goal: impl Goal + 'static);
    fn stop_pathfinding(&self);
    fn wait_until_goto_target_reached(&self) -> impl Future<Output = ()>;
    fn is_goto_target_reached(&self) -> bool;
}

Required Methods§

Source

fn goto(&self, goal: impl Goal + 'static) -> impl Future<Output = ()>

Source

fn start_goto(&self, goal: impl Goal + 'static)

Source

fn start_goto_without_mining(&self, goal: impl Goal + 'static)

Source

fn stop_pathfinding(&self)

Source

fn wait_until_goto_target_reached(&self) -> impl Future<Output = ()>

Source

fn is_goto_target_reached(&self) -> bool

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§