pub trait DirectionList: Sized {
    // Required methods
    fn directions() -> &'static [Self];
    fn positive_directions() -> &'static [Self];
}
Expand description

List all possible direction

Required Methods§

source

fn directions() -> &'static [Self]

List all directions.

source

fn positive_directions() -> &'static [Self]

List all positive directions.

Implementors§

source§

impl DirectionList for DirectionEnum

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>

source§

impl DirectionList for Direction<{ _ }>