Trait rumcake::split::central::CentralDevice
source · 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.
Object Safety§
This trait is not object safe.