embassy-stm32

Crates

git

Versions

stm32l4p5re

Flavors

Skip to main content

Shape

Trait Shape 

Source
pub trait Shape: Sealed {
    type Selectors<T: Instance>;

    // Required method
    fn selectors<T: Instance>() -> Self::Selectors<T>;
}
Expand description

Configuration shape: maps a transceiver count to its selector bundle.

Required Associated Types§

Source

type Selectors<T: Instance>

Selector bundle configure_pins hands to its closure.

Required Methods§

Source

fn selectors<T: Instance>() -> Self::Selectors<T>

Fresh selector bundle.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§