AppearingObstacle

Trait AppearingObstacle 

Source
pub trait AppearingObstacle<X, CS, const N: usize>: Obstacle<X, CS, N>
where CS: CSpace<X, N>,
{ // Required method fn can_sense<S>(&self, pose: &Vector<X, Const<N>, S>, radius: X) -> bool where S: Storage<X, Const<N>>; }
Expand description

An obstacle type that can be sensed within a radius

Required Methods§

Source

fn can_sense<S>(&self, pose: &Vector<X, Const<N>, S>, radius: X) -> bool
where S: Storage<X, Const<N>>,

Checks if self is within radius of pose

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§