7 lines
205 B
Rust
7 lines
205 B
Rust
use std::any::Any;
|
|
|
|
use gpui3::{AnyElement, ViewContext};
|
|
|
|
pub type HackyChildren<S> = fn(&mut ViewContext<S>, &dyn Any) -> Vec<AnyElement<S>>;
|
|
|
|
pub type HackyChildrenPayload = Box<dyn Any + Send + Sync>;
|