macro_rules! ui_component_layout_only {
($ty:ty) => { ... };
}Expand description
Implement the UiBuilder patch + render glue for a component that supports layout refinements
only.
The type must provide:
fn refine_layout(self, LayoutRefinement) -> Selffn into_element(self, &mut ElementContext<'_, H>) -> AnyElement