RadioReducer

Trait RadioReducer 

pub trait RadioReducer {
    type Action;
    type Channel;

    // Required method
    fn apply(&mut self, action: Self::Action) -> ChannelSelection<Self::Channel>;
}
Available on crate feature radio only.

Required Associated Types§

type Action

type Channel

Required Methods§

fn apply(&mut self, action: Self::Action) -> ChannelSelection<Self::Channel>

Implementors§

§

impl<Data, Channel, Action> RadioReducer for Radio<Data, Channel>
where Data: DataReducer<Channel = Channel, Action = Action>, Channel: RadioChannel<Data>,

§

type Action = Action

§

type Channel = Channel