1 2 3 4 5 6 7
use crate::app::App; impl App { pub fn switch_editor_mode(&mut self) { self.editor_view.next(); } }