Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
1use gpui::{ClickEvent, WindowContext}; 2 3pub trait Clickable { 4 fn on_click(self, handler: impl Fn(&ClickEvent, &mut WindowContext) + 'static) -> Self; 5}