Struct f3::led::Leds [−][src]
pub struct Leds { /* fields omitted */ }
Array of all the user LEDs on the board
Methods
impl Leds
[src]
impl Leds
Trait Implementations
impl Deref for Leds
[src]
impl Deref for Leds
type Target = [Led]
The resulting type after dereferencing.
fn deref(&self) -> &[Led]
[src]
fn deref(&self) -> &[Led]
Dereferences the value.
impl DerefMut for Leds
[src]
impl DerefMut for Leds
impl Index<usize> for Leds
[src]
impl Index<usize> for Leds
type Output = Led
The returned type after indexing.
fn index(&self, i: usize) -> &Led
[src]
fn index(&self, i: usize) -> &Led
Performs the indexing (container[index]
) operation.
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<usize> for Leds
[src]
impl IndexMut<usize> for Leds
fn index_mut(&mut self, i: usize) -> &mut Led
[src]
fn index_mut(&mut self, i: usize) -> &mut Led
Performs the mutable indexing (container[index]
) operation.
impl IndexMut<Direction> for Leds
[src]
impl IndexMut<Direction> for Leds