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 gpui3::{AnyElement, ViewContext}; 4 5pub type HackyChildren<S> = fn(&mut ViewContext<S>, &dyn Any) -> Vec<AnyElement<S>>; 6 7pub type HackyChildrenPayload = Box<dyn Any>;