Function workspace2::open_new
source · pub fn open_new(
app_state: &Arc<AppState>,
cx: &mut AppContext,
init: impl FnOnce(&mut Workspace, &mut ViewContext<'_, Workspace>) + 'static + Send
) -> Task<()>
pub fn open_new(
app_state: &Arc<AppState>,
cx: &mut AppContext,
init: impl FnOnce(&mut Workspace, &mut ViewContext<'_, Workspace>) + 'static + Send
) -> Task<()>