IntoPeripheral

Trait IntoPeripheral 

pub trait IntoPeripheral<'a, P> {
    // Required method
    fn into_hal_peripheral(self) -> Self;
}
Expand description

Helper trait to support both Peri style and singleton style peripherals.

Required Methods§

fn into_hal_peripheral(self) -> Self

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§