5 lines
156 B
Rust
5 lines
156 B
Rust
use gpui::{ClickEvent, WindowContext};
|
|
|
|
pub trait Clickable {
|
|
fn on_click(self, handler: impl Fn(&ClickEvent, &mut WindowContext) + 'static) -> Self;
|
|
}
|