esp_idf_hal::gpio

Trait IOPin

Source
pub trait IOPin:
    InputPin
    + OutputPin
    + Into<AnyIOPin> {
    // Provided method
    fn downgrade(self) -> AnyIOPin { ... }
}
Expand description

A marker trait designating a pin which is capable of operating as an input and output pin

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§