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