Enum f3::led::Direction [−][src]
pub enum Direction { North, Northeast, East, Southeast, South, Southwest, West, Northwest, }
Cardinal directions. Each one matches one of the user LEDs.
Variants
North
North / LD3
Northeast
Northeast / LD5
East
East / LD7
Southeast
Southeast / LD9
South
South / LD10
Southwest
Southwest / LD8
West
West / LD6
Northwest
Northwest / LD4
Trait Implementations
impl Index<Direction> for Leds
[src]
impl Index<Direction> for Leds
type Output = Led
The returned type after indexing.
fn index(&self, d: Direction) -> &Led
[src]
fn index(&self, d: Direction) -> &Led
Performs the indexing (container[index]
) operation.
impl IndexMut<Direction> for Leds
[src]
impl IndexMut<Direction> for Leds