Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
1use std::any::Any; 2 3use gpui2::{AnyElement, ViewContext}; 4 5pub type HackyChildren<V> = fn(&mut ViewContext<V>, &dyn Any) -> Vec<AnyElement<V>>; 6 7pub type HackyChildrenPayload = Box<dyn Any>;