RadioReducer

Trait RadioReducer 

Source
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§

Required Methods§

Source

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

Implementors§

Source§

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

Source§

type Action = Action

Source§

type Channel = Channel