pub trait LayoutView<T, S, D>: 'static {
// Required method
fn call(&self, ui: &mut Ui, children: Children<'_>, cx: &ViewContext<'_, S>);
}Expand description
A layout view: Fn(&mut Ui, Children, T1, …, T16) where every T is a FromView extractor.
Required Methods§
fn call(&self, ui: &mut Ui, children: Children<'_>, cx: &ViewContext<'_, S>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".