Update scene_manager.rs

Removed unused and duplicate implementation of ReceicveMSAReturnOption
This commit is contained in:
DanielMowitz 2019-09-05 14:34:54 +02:00 committed by GitHub
parent d803705549
commit ae0b6b3939
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,6 @@ pub trait Scene<'a> {
fn receive_menu_sub_action(&mut self, sub_action: &super::action::MenuSubAction) -> super::store::ReceiveMSAReturnOption; fn receive_menu_sub_action(&mut self, sub_action: &super::action::MenuSubAction) -> super::store::ReceiveMSAReturnOption;
} }
pub enum ReceiveMSAReturnOption {
NoNewAction(),
NewAction(Vec<super::action::MenuSubAction>),
}
pub struct MinimalScene { pub struct MinimalScene {
button: super::button::Button button: super::button::Button
} }
@ -148,4 +143,4 @@ impl<'a> super::store::Store<'a> for SceneManager<'a> {
_ => { super::store::ReceiveActionReturnOption::NoNewAction(self) } _ => { super::store::ReceiveActionReturnOption::NoNewAction(self) }
} }
} }
} }