(&mut self, from: RouteType, to: RouteType, transition: Box<dyn Transition>)
| 53 | } |
| 54 | |
| 55 | pub fn register_transition(&mut self, from: RouteType, to: RouteType, transition: Box<dyn Transition>) { |
| 56 | self.transitions.insert((from, to), transition); |
| 57 | } |
| 58 | |
| 59 | fn get_transition(&self, from: Option<&RouteType>, to: Option<&RouteType>) -> Box<dyn Transition> { |
| 60 | match (from, to) { |
nothing calls this directly
no outgoing calls
no test coverage detected