pub fn add_tab<T: View>(&mut self, view: NamedView<T>) {
        let id = view.name().to_owned();
        self.map.insert(id.clone(), Box::new(view));
        self.key_order.push(id.clone());
        self.current_id = Some(id);
    }
/// Add a new tab to the tab view.
/// The new tab will be set active and will be the visible tab for this tab view.
Add a new tab to the tab view.
The new tab will be set active and will be the visible tab for this tab view.
Add a new tab to the tab view . The new tab will be set active and will be the visible tab for this tab view .
pub fn add_tab<T: View>(&mut self, view: NamedView<T>) {
        let id = view.name().to_owned();
        self.map.insert(id.clone(), Box::new(view));
        self.key_order.push(id.clone());
        self.current_id = Some(id);
    }
pub fn add_tab < T : View > ( & mut self , view : NamedView < T > ) { let id = view . name ( ) . to_owned ( ) ; self . map . insert ( id . clone ( ) , Box :: new ( view ) ) ; self . key_order . push ( id . clone ( ) ) ; self . current_id = Some ( id ) ; }
Add a new tab to the tab view.
Add a new tab to the tab view .
&mut self
view
NamedView<T>