pub fn vec_router(workspace_mode: &WorkspaceMode) -> Vec<Self> {
        use Router::*;
        use WorkspaceMode::*;
        match workspace_mode {
            Pure => vec![Workspace],
            Full => vec![
                // BirdView,
                Workspace, Promised, // Agenda,
                // TimeAnchor,
                Settings,
            ],
            Manual(vec) => {
                if vec.is_empty() {
                    vec![Router::default()]
                } else {
                    vec.clone()
                }
            }
        }
    }
/// returns all possible routers in a Vec<Router>
returns all possible routers in a Vec
returns all possible routers in a Vec
pub fn vec_router(workspace_mode: &WorkspaceMode) -> Vec<Self> {
        use Router::*;
        use WorkspaceMode::*;
        match workspace_mode {
            Pure => vec![Workspace],
            Full => vec![
                // BirdView,
                Workspace, Promised, // Agenda,
                // TimeAnchor,
                Settings,
            ],
            Manual(vec) => {
                if vec.is_empty() {
                    vec![Router::default()]
                } else {
                    vec.clone()
                }
            }
        }
    }
pub fn vec_router ( workspace_mode : & WorkspaceMode ) -> Vec < Self > { use Router :: * ; use WorkspaceMode :: * ; match workspace_mode { Pure => vec ! [ Workspace ] , Full => vec ! [ // BirdView, Workspace Promised // Agenda, // TimeAnchor, Settings ] , Manual ( vec ) => { if vec . is_empty ( ) { vec ! [ Router default ( ) ] } else { vec . clone ( ) } } } }
returns all possible routers in a Vec<Router>
returns all possible routers in a Vec<Router >
workspace_mode
&WorkspaceMode
workspace_mode
&WorkspaceMode