Trait RadioReducer

Source
pub trait RadioReducer {
    type Action;
    type Channel;

    // Required method
    fn apply(&mut self, action: Self::Action) -> ChannelSelection<Self::Channel>;
}

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

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

Source§

type Action = Action

Source§

type Channel = Channel