Files
oak-gpui/crates/ui2/src/children.rs
T

8 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>;