[][src]Struct stm32f407g_disc::led::Leds

pub struct Leds { /* fields omitted */ }

Methods

impl Leds[src]

pub fn new(gpiod: Parts) -> Self[src]

Trait Implementations

impl DerefMut for Leds[src]

impl Deref for Leds[src]

type Target = [Led]

The resulting type after dereferencing.

impl Index<usize> for Leds[src]

type Output = Led

The returned type after indexing.

impl Index<LedColor> for Leds[src]

type Output = Led

The returned type after indexing.

impl IndexMut<usize> for Leds[src]

impl IndexMut<LedColor> for Leds[src]

Auto Trait Implementations

impl Send for Leds

impl Sync for Leds

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]