[][src]Trait gf::ai::Direction

pub trait Direction: Copy + Clone + Eq + Hash + Ord + PartialEq + PartialOrd + DirectionPrivate {
    type Opposite: Direction;

    const IS_FORWARD: bool;
    const IS_BACKWARD: bool;

🟢 An analysis direction: Forward or Backward.

Associated Types

type Opposite: Direction

Opposite direction.

Loading content...

Associated Constants

const IS_FORWARD: bool

True iff this is the forward direction.

const IS_BACKWARD: bool

True iff this is the backward direction.

Loading content...


impl Direction for Backward[src]

impl Direction for Forward[src]

Loading content...