pub trait CentralDevice {
type Layout: KeyboardLayout;
// Provided method
fn get_message_to_peripheral_channel( ) -> &'static Channel<RawMutex, MessageToPeripheral, 4> { ... }
}
Required Associated Types§
Sourcetype Layout: KeyboardLayout
type Layout: KeyboardLayout
The layout to send matrix events (which were received by peripherals) to.
Provided Methods§
Sourcefn get_message_to_peripheral_channel() -> &'static Channel<RawMutex, MessageToPeripheral, 4>
fn get_message_to_peripheral_channel() -> &'static Channel<RawMutex, MessageToPeripheral, 4>
Get a reference to a channel that can receive messages from other tasks to be sent to peripherals.
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.